How to use the forever loop block in LEGO SPIKE Prime Word Blocks software Pro Preview

There are many cases in programming where you want something to repeat indefinitely. Here's how to achieve that!

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #2290
  • 29 Jul 2024

This is the third block in the orange Control palette.

content picture

This block repeats everything placed inside it indefinitely. That is why you cannot place any blocks after it, as there is no way to reach those blocks. It is usually used to continuously update something. For example, you can constantly change the speed of a motor using a force sensor. Just be sure you can stop the program manually!

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for  Level B1 - Carnival - Robotics with LEGO SPIKE Prime
  • 23
  • 1:03
  • 62
Image for Lesson 2 - Spinning ride
  • 3
  • 6
  • 10
  • 3d_rotation 1