turtle.isvisible() function in Python (original) (raw)

Last Updated : 29 Aug, 2025

The turtle.isvisible() method is used to check whether the turtle is currently visible on the canvas. It returns True if the turtle is shown and False if it is hidden. This method does not require any arguments.

**Syntax:

turtle.isvisible()

**Example:

Python `

import turtle

check turtle visibility

print(turtle.isvisible())

motion

turtle.forward(100) turtle.right(90)

hide the turtle

turtle.ht()

motion

turtle.forward(100)

check turtle visibility

print(turtle.isvisible())

motion

turtle.right(90) turtle.forward(100)

show the turtle

turtle.st()

check turtle visibility

print(turtle.isvisible())

`

**Output:

True
False
True

**Explanation: