Let's make the sprite wait, then move right.

  • Click on in the toolkit. Drag out Wait and drop it into your program.

The .wait() command will make the entire stage pause for two seconds.

  • Go to . Drag out Move Right and drop it at the bottom of your program.


To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("winter") sprite = codesters.Sprite("fox") sprite.move_down(150)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)