Let's start adding the code to create the blocks.

  • Go to and drag out Rectangle. Drop it on the line right after the random number.
  • Make sure that there is a green block ···· to the left of your rectangle code.

This is how the program knows which lines of code are inside the interval event.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE