Go back to position (0, 0)
home
Moves a turtle to the center of coordinates system, (0; 0). The turtle draws a line if its pen is down.
Example:
repeat 9 [
setxy
100 * cos 20 * (2 * repcount)
100 * sin 20 * (2 * repcount)
setxy
100 * cos 20 * (2 * repcount + 1)
100 * sin 20 * (2 * repcount + 1)
home
]
Output: a drawing in the graphics window.
See also:
Table of Content