Uwolniony przycisk myszy P5JS

var rightPressed = false;

function mouseClicked() {
    if(mouseButton === RIGHT) {
        rightPressed = true;
    }
}
Prafy