STEP 3: We can use an action to make our sprite move down. We change the number in the action to control distance.

  • Go to . Drag out Move Down and drop it at the bottom of your program.
  • Change the integer argument in .move_down() from 50 to 100.

We call numbers that do not have decimal or fractional parts in them integers. Integers are always blue and not surrounded by quotes, such as: 1, 2, and 3.

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

stage.set_background("concert") sprite = codesters.Sprite("person1")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)