q5play
    Preparing search index...

    Variable movedX

    movedX: number

    🖲 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);
    };