PSETHEADING (PSETH)
Syntax PSETHEADING number 
PSETH number 
 
Explanation Polar coordinates describe positions on the plane in terms of the distance from the turtle's home and the angle from 0 degrees. Polar coordinates measure degrees counter-clockwise from a 0 degree heading that is equivalent to 3 o'clock.

PSETHEADING sets the polar heading of the turtle. A heading of 0 degrees is equivalent to a Cartesian heading of 90 degrees. PHEADING reports the polar heading.

See also SETP, PPOS, PANGLE, and PDIST.

Examples SETP 35 60 
PSETH 180 
PHEADING 
Result: 180 

TopIndex