| HEADING | |
| Syntax | HEADING |
| Explanation | HEADING reports the turtle's heading, an
integer from 0 to 359, representing the turtle's angle
from the straight up position. Straight up is 0, to the
right is 90, down is 180, and to the left is 270. Use SETHEADING to set the turtle's heading. DRAW and CLEARSCREEN set the turtle's heading to 0. CLEAN erases graphics without changing the turtle's heading. |
| Examples | TO NAUTILUS RT 5 FORWARD HEADING BACK HEADING IF HEADING < 130 THEN NAUTILUS END
|