There are a few different types of loops in scratch. There is the loop to repeat a certain amount of times. There is another that goes forever, and a third that keeps on going until a command is given
The best loop to use in that situation would be the repeat for a certain number oof times one. Therefore, you could figure out how many times it needs to be looped.
This kind of loop would not work because it would be saying both Forever loop!! and Forever and Ever!! at the same time which would not work
A sprite can know when to begin an action when another sprite broadcasts a message. The second sprite then begins its action.
The following snippets of code are equivelent. Although they seem reversed, they are not, because the command is also reversed.
Return to homepage