Turtle and Observer Command

setxcor-of number1 number2

Sets the x-coordinate of the turtle with who number1 to number2.

Examples:

setxcor-of 2 5 sets the x-coordinate of the turtle with who number 2 to 5.

Related commands:
setycor-of xcor ycor setx sety setxy xcor-of ycor-of