mouse-xcor
Description:
Returns the value of the xcor where the mouse was most recently.
Examples:
Run this code in a forever button:
seth towards mouse-xcor mouse-ycor fd .5
Turtles will follow the mouse (pointer tool) around the graphics canvas.
Related Commands:
mouse-down?
mouse-ycor