Name

heading()

Examples
v = PVector(10.0, 20.0)
print(v.heading())  # Prints "1.1071487665176392"
Description Calculates the angle of rotation for a vector (2D vectors only).
Syntax
.heading()

Updated on Thu Oct 22 12:07:48 2026.

If you see any errors or have comments, please let us know.