PyDocs

Nav

Graphical user interfaces with Tk

setheading

turtle

function
  • setheading(to_angle)
Set the turtle’s heading to to_angle. Here are some common directions in degrees:
1 Example
>>> turtle.setheading(90)
>>> turtle.heading()
90.0
from the Python docs
See Also
No see-alsos for turtle/setheading
0 Notes
No notes for setheading