ORIGIN
Syntax ORIGIN 
 
Explanation

The ORIGIN command reports the coordinate system origin of the first active turtle in the form of a list with two integers: the first integer is the X value and the second integer is the Y value. The coordinates reported by ORIGIN are relative to the standard turtle coordinate system, where [0 0] is the center of the window.

See also SETORIGIN.

Examples ASK 0 [SETXY [-25 0] SETORIGIN POS] 
ASK 1 [SETXY [25 0] SETORIGIN POS] 
TELL [0 1] 
FD 50 RT 135 FD 36 
HOME 
ASK 0 [ORIGIN] 
Result: [-25 0] 
ASK 1 [ORIGIN] 
Result: [25 0] 

TopIndex