The Questionist
The Questionist

Reputation: 41

How to hide the turtle in python

How do you hide the turtle while drawing in Python 3. It is covering my work and I need to see exact corners and other things. Is it also possible to draw with it hidden? Thank you.

I have tried this command and it did nothing. t = turtle.Turtle() s = t.getscreen()

Upvotes: 3

Views: 624

Answers (2)

user17083192
user17083192

Reputation:

Try using hideturtle() function. The syntax would be <turtle_object>. hideturtle()

Upvotes: 0

CodeCupboard
CodeCupboard

Reputation: 1585

You have hide the turtle with the following code.

# hide the turtle
turtle.hide_turtle()

Upvotes: 1

Related Questions