Turtle and Observer Command

mouse-ycor

Returns the value of the ycor 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-xcor