Repeat instructions infinitely flow block

This block will run a coding strip continuously until the program is stopped.

LEGO® Powered UP App coding example: Run command an infinite amount of times

Step 1: Add coding blocks

  • Flow block – Start
  • Flow block – Repeat instructions infinitely
  • Sound and light – Play from the whistle sound library

Step 2: Run the program. Observe that the sound is played infinitely.

Back to Flow blocks page