Repeat ()
Repeat ()
Category Control
Type Stack
The repeat () is a Control Block and a C Block. It will process the code it contains for a given amount of time, before allowing its script to continue.

Common usesEdit

Despite its simplicity, this block has some uses that can be described specifically.

  • Animation- rather than coding each costume change and animation delay individually, it can be used with a repeat block to save space.

Animation delay script

  • Movement- a sprite can continuously move and sense.

Repetitive motion and sensing

  • Simply repeating code- this block is very handy for saving space.

Repeating code

Community content is available under CC-BY-SA unless otherwise noted.