A Boolean
system variable that's true
if the mouse is pressed and false
if not.
Examples
Notice any errors or typos? Please let us know. Please feel free to edit src/events/mouse.js and open a pull request!
Related References
doubleClicked
A function that's called once when a mouse button is clicked twice quickly.
exitPointerLock
Exits a pointer lock started with requestPointerLock.
mouseButton
A String system variable that contains the value of the last mouse button pressed.
mouseClicked
A function that's called once after a mouse button is pressed and released.