Deprecated: Required parameter $query follows optional parameter $post in /var/www/html/wp-content/plugins/elementor-extras/modules/breadcrumbs/widgets/breadcrumbs.php on line 1215
Show and Hide - Python - Example Project
Table of Contents

Show and Hide – Python

Example Description
The example demonstrates the show and hides of the sprite in Python.

Code

sprite = Sprite('Tobi')
import time

sprite.gotoxy(0, 0)
sprite.setsize(200)

while True:
  sprite.show()
  time.sleep(1)
  sprite.hide()
  time.sleep(1)
[PictoBloxExtension]