SETORIGIN [xvalue yvalue]


The SETORIGIN command allows the coordinate system origin point to be set for active turtles. Normally, the coordinate system origin (location [0 0]) is in the center of the window. This origin may be changed for all turtles or individually for any turtle. Input for SETORIGIN is a list of two integers, the first being the X value and the second being the Y value. The coordinates are always relative to the standard turtle coordinate system, where [0 0] is the center of the window.

See also ORIGIN.



? SETORIGIN [0 30]


Result: [0 0]


Result: [0 30]

Pc logo 56

This is a SETORIGIN command example. Its executes "SETWIDTH 10 (DOT) SETORIGIN [0 30] GETXY ORIGIN" command.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.