Vex Code Pressed command in User Control

Hi, while utilizing the pressed command in compeition user control, I found that I cannnot use the command more than once. How do I fix this?

Can you post your code?

pressed registers a function that is called when the specified button is pressed, it should only be called once throughout the code, usually in main.

7 Likes