The X and Y detects by variables Move your cursor anywhere and press space to see the X and Y position