We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have an if statement out of void draw like this
void draw() {
//
}
if (mouseX > width/2-55 && mouseX < width/2-5 && mouseY > 335 && mouseY < 385 && mousePressed) {
println("asdf");
}
When ever I run, it highlights the if statement and returns that error message in the title.
Answers
Put that 'if' statement in the draw() function.
you can mark this thread as solved, when you press accept