Order matters
ReadingSteps in order
In the last chapter you learned that a script is a list of steps. Now for the next big idea: the order of the steps matters.
Two dances
Here are two scripts. They have the very same steps.
when I start
hop left 1 block
say "Ta-da!"
jumpwhen I start
jump
say "Ta-da!"
hop left 1 blockThe first slime hops, shouts, then jumps. The second slime jumps, shouts, then hops. Same steps, new order, new dance.
Why order matters
Think about getting dressed. Socks, then shoes. If you swap the order, you get a mess.
A script is the same. The slime always starts at the top and works down. It never tidies the order for you.
| If you want | Put it |
|---|---|
| A step to happen first | At the top |
| A step to happen last | At the bottom |
| A step to happen in between | Between the two |
Finish this section
Tick Finished reading at the bottom of the page. Then press Next to build a dance of your own.

