Skip to main content

Lesson 2: Repeating Behaviors

You have created projects with repeating behaviors using Forever blocks previously, but what if you wanted to repeat behaviors for a finite number of times? In this lesson, you'll learn about the Repeat block, and how it can be used to repeat code a specific number of times. Then you'll apply what you learned to code your VEX AIM Coding Robot to react to four AprilTag IDs as well as four different cargo objects. 

Watch the video below to learn about: 

  • How the Repeat block works in a project
  • Why to use a Repeat block instead of a Forever block in a project

Guided Practice

Wrap-Up


Select Next > to move on to the next lesson.