|
|
|
setPos pos
Moves the turtle to an absolute X,Y coordinate. The argument is a list of two numbers, the X and Y coordinates. See also Pos.
Example 1 (draw a square):
cs setpos [0 100] setpos [100 100] setpos [100 0] setpos [0 0] |
make "x 0 make "y 100 |
setpos [:x :y] |
setpos (list :x :y) |
show [:x :y] ;[:x :y] show (list :x :y) ;[0 100] |
|
|
|