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