🖲 Distance the mouse has moved since the last frame in the horizontal direction.
q5.draw = function () { background(0.8); if (movedX > 0) text('>>', 0, 0); if (movedX < 0) text('<<', 0, 0);}; Copy
q5.draw = function () { background(0.8); if (movedX > 0) text('>>', 0, 0); if (movedX < 0) text('<<', 0, 0);};
🖲 Distance the mouse has moved since the last frame in the horizontal direction.