setxy-at
xcor ycor x-coordinate y-coordinate
Parameters:
xcor |
Number |
A distance along the x direction |
ycor |
Number |
A distance along the y direction |
x-coordinate |
Number |
A coordinate on the x-axis |
y-coordinate |
Number |
A coordinate on the y-axis |
Description:
Sets the x-coordinate of the turtle xcor units in the x direction and ycor units in the y direction away from the caller to xcor and sets the y-coordinate of the same turtle to ycor.
Examples:
setxy-at 1 1 5 6
sets the x-coordinate of the turtle one unit to the right and one unit above the caller to 5, and it also sets the y-coordinate of the same turtle to 6.
Related Commands:
setxcor-at
setxy
setxy-of
setxy-towards
setycor-at