We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70ded6c commit 4e72015Copy full SHA for 4e72015
src/events/mouse.js
@@ -654,6 +654,9 @@ p5.prototype._ondragover = p5.prototype._onmousemove;
654
/**
655
* The mouseClicked() function is called once after a mouse button has been
656
* pressed and then released.<br><br>
657
+ * Browsers handle clicks differently, so this function is only guaranteed to be
658
+ * run when the left mouse button is clicked. To handle other mouse buttons
659
+ * being pressed or released, see mousePressed() or mouseReleased().<br><br>
660
* Browsers may have different default
661
* behaviors attached to various mouse events. To prevent any default
662
* behavior for this event, add "return false" to the end of the method.
0 commit comments