I got a suspicion here
I’m not sure which lines we are talking about
Let’s say
if (mouseX > 300 && mouseX < 380 && mouseY > 460 && mouseY < 540 && (state == 1)) {
state = 4;
q28 = true;
}
OK, just an idea.
Let’s say you want to have only one reaction per mouse click and not two:
Go to the if-clause for “category 3 800 point question”
if (mouseX > 300 && mouseX < 380 && mouseY > 460 && mouseY < 540 && (state == 1)) {
state = 4;
q28 = true;
return; // <------ ENTER THIS line here
}
Thank you.