Move turtle to the origin - coordinates (0,0). No arguments. Move turtle to the origin - coordinates (0,0) and set its heading to its start-orientation (which depends on mode). Example (for a Turtle instance named turtle): >>> turtle.home()
(self)
| 1777 | self._goto(Vec2D(x, y)) |
| 1778 | |
| 1779 | def home(self): |
| 1780 | """Move turtle to the origin - coordinates (0,0). |
| 1781 | |
| 1782 | No arguments. |
| 1783 | |
| 1784 | Move turtle to the origin - coordinates (0,0) and set its |
| 1785 | heading to its start-orientation (which depends on mode). |
| 1786 | |
| 1787 | Example (for a Turtle instance named turtle): |
| 1788 | >>> turtle.home() |
| 1789 | """ |
| 1790 | self.goto(0, 0) |
| 1791 | self.setheading(0) |
| 1792 | |
| 1793 | def setx(self, x): |
| 1794 | """Set the turtle's first coordinate to x |
nothing calls this directly
no test coverage detected