STEP 3: Let's 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 are not surrounded by quotes. Examples: 1, 2, and 1000.

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

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)