🖲 True if the mouse is currently pressed, false otherwise.
q5.draw = function () { if (mouseIsPressed) background(0.4); else background(0.8);}; Copy
q5.draw = function () { if (mouseIsPressed) background(0.4); else background(0.8);};
🖲 True if the mouse is currently pressed, false otherwise.