getMouseUp()
world.input.getMouseUp(button)
Description
Returns true during the frame the user releases the mouse button.
Parameters
Property | Type | Description |
---|---|---|
button | number | Button number. |
Mouse Button Keys
Number | Mouse Button |
---|---|
0 | Primary |
1 | Auxillary |
2 | Secondary |
3 | Fourth |
4 | Fifth |
Returns
Boolean.
Example
world.input.getMouseUp(0)