PANGLE
Syntax PANGLE
 
Explanation Polar coordinates describe positions on a plane in terms of the distance from the turtle's home in the center of the Graphics window and the angle from 0 degrees. Polar coordinates measure degrees counter-clockwise from a 0 degree heading equivalent to 3 o'clock.

PANGLE reports the turtle's angle, theta.

See also SETP, PPOS, PSETHEADING, PHEADING, and PDIST.

Examples SETP 100 75 
PANGLE 
Result: 75 

(The pale blue axes in the graphic above will not appear on the screen. They are included in this example as a point of reference.)

TopIndex