Lesson 4: Repeated Behaviors
In the previous Lesson, you observed how to use [If then] blocks in order for the VR Robot to check conditions. However, because of the flow of the project, the conditions within the [If then] blocks are only checked once. In this Lesson, you will be introduced to the [Forever] block and how it can be used to solve the Disk Maze Challenge.
- Identify that the [Forever] block is a C block that repeats the behaviors inside of it forever.
- Describe why a [Forever] block would be used in a project.
- Describe the project flow in a VEXcode VR project that has multiple [If then] blocks inside of a [Forever] block.
- Explain why [If then] blocks are used with [Forever] blocks.
Select the Next button to continue with the rest of this Lesson.