GETXY

Syntax

GETXY

Explanation 

GETXY outputs a list consisting of the x and y coordinates of the turtle.

See also SETX, SETXY, SETY, XCOR, and YCOR.

Example

? RT 45 FD 50 GETXY

Result: [35 35]