Turtle and Observer Command
ycor-of number

Reports the y-coordinate of the turtle with who number number.

Examples:

ycor-of 2 reports the y-coordinate of the turtle with who number 2.

Related commands:
xcor-of xcor ycor setx sety setxy setxcor-of setycor-of