Creating A Toolbar & Canvas Sketch

Suggestion to get rid of some brackets:

if ( mouseX > x &
mouseX < x+ w &
mouseY > y &
mouseY < y+ h )
return true;

3 Likes