### setxyz

#### setxyz x y z

3D version of setxy.

The agent, a turtle or the observer, sets its x-coordinate to x, its y-coordinate to y and its z-coordinate to z. When the observer uses `setxyz` it remains facing the same point so the heading, pitch, and roll, may also change.

For turtles equivalent to `set xcor x set ycor y set zcor z`, except it happens in one time step instead of three.

    setxyz 0 0 0
    ;; agent moves to the middle of the center patch

See also face

Take me to the full NetLogo Dictionary