Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

p5js right mouse button released

var rightPressed = false;

function mouseClicked() {
    if(mouseButton === RIGHT) {
        rightPressed = true;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mouse #button #released
ADD COMMENT
Topic
Name
2+4 =