GETXY
Syntax
GETXY
Explanation
GETXY reports a list consisting of the x and y coordinates of the turtle. GETXY is equivalent to
POS
.
See also
SETX
,
SETXY
,
SETY
,
XCOR
, and
YCOR
.
Example
RT 30 FD 50
GETXY
Result: [25 43]