PyDocs

Nav

Graphical user interfaces with Tk

home

turtle

function
  • home()
Move the turtle to the origin, coordinates (0,0). The turtle’s heading is set to its start orientation, which depends on the turtle mode, see mode().
1 Example
>>> turtle.heading()
90.0
>>> turtle.position()
(0.00,-10.00)
>>> turtle.home()
>>> turtle.position()
(0.00,0.00)
>>> turtle.heading()
0.0
from the Python docs
See Also
No see-alsos for turtle/home
0 Notes
No notes for home