setxy-towards
angle distance number1 number2
Parameters:
| angle |
Number |
angle from caller |
| distance |
Number |
distance from caller |
| number1 |
Number |
x-coordinate to set |
| number2 |
Number |
y-coordinate to set |
Description:
Sets the x-coordinate of the turtle distance away at angle angle from the caller to number1 and sets the y-coordinate of the same turtle to number2.
Examples:
setxy-towards 0 1 4 5 sets the x-coordinate of the turtle one unit directly in front of the caller to 4, and also sets the y-coordinate of the same turtle to 5.
Related Commands:
setxcor-towards
setxy
setxy-at
setxy-of