Loops, Forevers, and Repeats

Hi again, brave one! Let's jump right in.

Loops

Alright, so a loop looks like one of these (we'll get to know all of them later):

I feel like you can learn most of Scratch with loops.

When you need to repeat a task over and over (like following your mouse,) use a loop!

Forevers

The Forever, the most common and helpful type of loop. Use it to do things like "infinite" cloning, and mouse trails!

To use it, just like all loops you may find, just code inside it and it will perform it for the amount that the loop specifies!

Repeats

OK, now on to Repeats! These are Forever's more advanced brothers. Repeats will perform an action a number of times, or until a certain condition is cleared!

You can use these to basically have a Forever UNTIL, say, a certain message is broadcast, and then stop.

That pretty much rounds up Repeats.