Meet the slime

Try itYour first script

Time to run your first script. Meet the slime.

Press Play

Press Play Play this script, under the little game. Then watch the slime walk.

What to look for

The slime does three things, in this order.

  1. It walks left, up to the hero.
  2. It walks right, back to where it began.
  3. It stops.

Why does it stop? The script has no more steps. A character with nothing left to do just stands there.

Watch it again

Press Stop Stop, then Play Play this script. This time, read the script while the slime moves. Can you tell which line it is on?

This section ticks itself when you press Play.

Press Play in the code box to finish this section.