Turtle and Observer Command

xcor-of number

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

Examples:

xcor-of 3 returns the x-coordinate of the turtle with who number 3.

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