XCOR
Syntax XCOR
 
Explanation XCOR outputs the X coordinate of the turtle's position in the Graphics window.

See also GETXY, POS, SETPOS, SETXY, SETY, and YCOR.

Example DRAW
RT 45 FD 50 XCOR
Result: 35

TopIndex