How to Use Bumper Sensor in Vex Coding Studio?

I can’t figure out how to my robot do an if statement to see if the Bumper is pressed in vex coding studio

In VCS C++ you could do something like this:

int main() {
    while (true) 
    {
        if (Bumper1.pressing())
        {
            // Do Something        
        }
    }
}

In ModKit you could do something like this:

image

1 Like
  1. Please do not revive old threads
  2. This topic is about VCS blocks, not text. If you have a question about this, maybe make a new thread.
  3. Before doing that, look around the forums and see if anyone else has asked for same question before. Or for that matter, the VCS docs. A simple google search will find them for you.
  4. @DRow maybe a lock on this thread?