How to make our program repeat in Scratch Preview

Sometimes we need to repeat several commands a lot of times and this would be very time consuming if we were to have to order all of the blocks by hand.

This is why the repetition block was created?

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1584
  • 24 Mar 2020

The repetition block is located in the orange block pallette:

content picture

Unlike the rest of the blocks, this block has a mouth and it can bite other blocks!

content picture

All of the blocks in its mouth will be repeated 10 times. As you can probably guess, if you change the number 10 in this block, then the number of times the blocks repeat will also change.

After the blocks in its mouth repeat enough times, the program will continue with the blocks underneath the repetition blocks. 

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Keep 'em clean - remote Scratch game course
  • 41
  • 0:00
  • 70
Image for Lesson 4 - Repeating actions and cloning sprites
  • 3
  • 5
  • 6
  • 3d_rotation 0