STEP 13: Now we need make some changes to the car sprite inside the if statement.

We'll use a negative number in the Set X Speed command so that the cars move in the opposite direction!

  • Use Turn Left to rotate the car 90 degrees.
  • Set Size of car to 0.5.
  • Set x Speed of car to -2.


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)