Turtle and Observer Command

setxy-towards `angle distance number1 number2`

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:
setycor-towards xcor ycor setx sety setxy xcor-towards ycor-towards