What is a script?
ReadingYour first script
A script is a list of steps for a character to follow.
Think of a recipe. It tells you what to do first, what to do next, and what to do last. A script does the same for a character in your game.
Your first script
Here is the script you will use in this chapter. It belongs to a slime.
when I start
walk left 3 blocks over 4 seconds
walk right 3 blocks over 4 secondsThe top line says when to begin. The two lines under it are the steps.
Three rules
Every script follows these rules. They never change.
| Rule | What it means |
|---|---|
| Top to bottom | The character starts at the top and works down. |
| One step at a time | It finishes one step before it starts the next. |
| Just what it says | It does what the script says. It never guesses what you meant. |
Finish this section
Tick Finished reading at the bottom of the page. Then press Next to see the script run.

