So I was programming an old robot the team had lying around that we need for this Friday. and it uses 3 state Solenoids. The Programming language for the Spikes puts it in Forward state when the button is pressed an Neutral when it’s not pressed. I need it to be in forward when pressed and reverse state when released. I know an IF/ELSE statement would do this. But what is the text I need to put in as the IF conditional statement. In RobotC for FTC I knew it was always (Joystick.joy1_but1). What code do I need to put in?