turtle.getscreen()
¶
-
turtle.
getscreen
()¶ Return the TurtleScreen object, the turtle is drawing on.
No argument.
Return the TurtleScreen object, the turtle is drawing on. So TurtleScreen-methods can be called for that object.
Example: >>> ts = getscreen() >>> ts <TurtleScreen object at 0x0106B770> >>> ts.bgcolor(“pink”)