STEP 10: Let's add some gravity to our program, just for fun!

  • Go to and drag out the Set Gravity command. Drop it anywhere in your program.
  • Click Run and watch what happens.
  • Click Submit and Next to move on to the extend activity.

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)