BlocosIA Wiki Editor

Endless dance

Easy · Use the "forever" loop so the sprite never stops.

Interactive tutorial: the editor checks each step by itself.

  1. Choose a sprite and drag "when flag clicked" (Events).
  2. In Control, snap the "forever" block below the flag.
  3. Put "move 10 steps" INSIDE the mouth of "forever".
  4. Also put "if on edge, bounce" inside "forever".
  5. Click the green flag. To stop, use the red button.
  6. Challenge: put "next costume" and "wait 0.2 seconds" inside "forever" to make it dance! (challenge)

Open in the editor