Use it twice
Try itYour own words
A word is worth making when you use it more than once. This slime dances at the start, and again when it sees the hero.
Try it
- Press Play
. The slime dances once. - Click the little game, so the arrow keys work.
- Hold the right arrow key to walk the hero toward the slime.
The slime says "Watch this!" and dances again. Two rules use the same word.
Count the lines
The dance is three steps. It is used in two places. Without the word, those three steps would be written out twice.
| With the word | Without it | |
|---|---|---|
| Lines for the dance | 3, written once | 6, the same 3 twice |
| To change the dance | Change it in one place | Change it in two places, the same way |
Change it once
- Press Stop
. - In Code
, click the line jump, inside the word. Click the small arrow at the end of the line. A list of steps drops down. - Click jump back in the list.
- Press Play
, and walk the hero up again.
Both dances changed, and you only touched one line.
This section ticks itself when you press Play.

