105
5. If...then...else...
(1) Description: Run the “then” program when the condition is “True,” and runs the “else” program otherwise
(2) Type: Conditional statement block
(3) Example: Hit indicator
If any armor of the robot is attacked, all the chassis LEDs will blink red; otherwise, the default LED effect is solid on.
6. Repeat until...
(1) Description: Repeat the internal program until the condition is met. That is: to run the internal program when the
condition is not met; when the condition is met, it will jump out of the loop and execute the next command