Beginner Vex v5 coder

I am fairly new to vex in general but in regards to the software I was wondering how can i have 2 motors running with each other and I wanted to write code for it not just select the motor groups this is what I have so far

int main() {
if (Controller1.ButtonL1.pressing()){
else if(Controller1.ButtonL1.()){

The line of code where my “else if” statement is at is where my error pops up I was wondering the right command for when it is releaased.

The correct thing to do would be to replace the line with else {. This is because there is no function that returns true when a button is NOT pressed. By replacing your else if statement with else, the code will spin your two motors if the button is pressed, and then do something else if the button is not pressed.