Help cata is stuck in a continous loop of going back and forth

Please help:
void shoot() {
Catapult.spinFor(forward, 540, deg);
}

usercontrol:
Controller1.ButtonR1.pressed(shoot);

help? plesssssssssssssssssssssssssssss

By the way, user control: while(1) {
Controller…}

The callback should be outside of the user control loop before it starts

2 Likes