Teacher Version
Already Pressed
Already Pressed
What happens if you’re already
What happened?
The robot doesn’t move at all. The waitUntil block detects that the sensor is Pressed and the motors are stopped before you can observe them moving.
Pressed simply means the button is in the pressed position. It does not matter how or when it was pressed in.