STEP 8: We'll use an interval event that creates the objects in the road.
We'll have the program create different objects based on the random number it picks each time the event runs.
- Add an Interval Event to your program and delete the default .turn_left() command.
- Go to and drop Random Integer inside the interval event
- Name the random integer variable rand_chance and give it a range between 1 and 100.
To navigate the page using the TAB key, first press ESC to exit the code editor.