STEP 14: If we move the sprites down the road, it will appear that the car is moving up the road.

  • From and drag Set Size inside the interval event, but outside the if statements.
  • Change the size of new_object to 0.7.
  • Go to and drag Set y Speed inside the interval event.
  • Change the speed of new_object to -5.

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)