- Synopsis
**SETPOS**`position`

- Description
Moves the turtle to an absolute X,Y coordinate. The

input is a list of two numbers, the X and Y coordinates.`position`

There is often some confusion on how to call SETPOS with variables. Let's look at some code:

`MAKE "x 0 MAKE "y 100 SETPOS [:x :y] ; fails SETPOS (list :x :y) ; works`

The first case is a list that contains 2 words

and`":x`

. In the second case a list is constructed containing the value of`":y`

and`:x`

.`:y`

You can see this more clearly by using SHOW:

[:x :y]`show [:x :y]`

[0 100]`SHOW (LIST :x :y)`

- Example
`; draw a square CLEARSCREEN SETPOS [0 100] SETPOS [100 100] SETPOS [100 0] SETPOS [0 0]`

- See Also
POS SETX SETY