Turtle Command

heading

Returns the direction that the turtle is facing.

Examples:

if heading = 0 [setc blue] commands the caller to set its color to blue if it is facing straight up.

Related commands:
heading-at heading-of heading-towards seth