function mousePressed() { // This is the worst if statement in the history of if statements if (!refining && !mde && !completed && !shared) { ... } }