towards-nowrap
xcor ycor
Parameters:
xcor |
Number |
X coordinate on the screen |
ycor |
Number |
Y coordinate on the screen |
Description:
Returns the angle from the caller's xcor and ycor to the specified absolute position specified by xcor
and ycor
(without wrapping).
Examples:
towards-nowrap 1 1
returns 45
when run by a turtle at (0, 0)
.
towards-nowrap 1000 1000
returns 45
when run by a turtle at (0, 0)
.
Related Commands:
distance
distance-nowrap
towards