MOUSE
Syntax MOUSE
 
Explanation MOUSE reports the coordinates of the position of the mouse pointer as a list of two numbers representing the x coordinate and the y coordinate.

See also BUTTON?.

Examples The following procedure uses the mouse to move the turtle. The turtle will draw as it moves.

TO CHASE
      SETXY MOUSE 

     CHASE 
END 

TopIndex