Turtle, Patch

ycor

Description:
Returns the y-coordinate of the turtle or patch.

Examples:
if ycor = 2 [setc red] commands the turtle to set its color to red of its y-coordinate is equal to 2.

Related Commands:
setycor who xcor ycor-at ycor-of ycor-towards