Is pen down?

pendownp
pendown?

Returns true if a turtle's pen is down (turtle is drawing lines when it is moving), otherwise returns false.

Example:

penup
print pendown?
pendown
print pendown?

Output:

False
True

See also:

pendown, pd - pen down (start drawing)
penup, pu - pen up (stop drawing)

Table of Content