|
|
| Value |
The value to compare. |
getTimer(T1, seconds), getMotorEncoder(leftMotor) |
| Comparator |
The operator used to compare |
==, >, <, != |
| Target |
Integer value being used as target |
5, 360 |
- The waitUntil statement will stop the program from advancing to the next line of code until the specified condition is met.
- In the code example below, the robot will move forward until encoder passes 720 counts, then it will stop.
|
|
|