I’ve been trying to get my ball collector to work, but I cant seem to know how to check if a button is pressed. I tried
if(controller1.ButtonL1.pressing()){
spincollector(30);
}
I’ve been trying to get my ball collector to work, but I cant seem to know how to check if a button is pressed. I tried
if(controller1.ButtonL1.pressing()){
spincollector(30);
}
Does any1 know how to do this?
That looks correct. I would check the flow of your program to make sure that it’s actually checking this condition when you think it should be.