[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Heading                  Returns Current Heading of Turtle

 Heading : Integer;                                                   [TG/TP]

    Returns turtle's current heading in degrees (0..359). 0 (or North)
    means up; 90 (or East) means right; 180 (or South) means down; and 270
    (or West) means left.

  -------------------------------- Example ---------------------------------

           SetHeading(Heading+180);         { turtle does about face }

See Also: Xcor Ycor SetHeading Forwd Back
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson