Turtle, Observer, Patch

setxy-of who-number xcor ycor

Parameters:
who-number Number The who id of a turtle
xcor Number A coordinate on the x-axis
ycor Number A coordinate on the y-axis

Description:
Sets the x-coordinate of the turtle with ID who-number to xcor and sets the y-coordinate of the same turtle to ycor.

Examples:
setxy-of 1 2 3 sets the x-coordinate of the turtle with who ID 1 to 2, and it also sets the y-coordinate of the same turtle to 3.

Related Commands:
setxcor-of setxy setxy-at setxy-towards setycor-of