mojo.input.MouseDevice.ButtonPressed - nitrologic/monkey2 GitHub Wiki
mojo::mojo.input.mojo.input.MouseDevice.ButtonPressed
Method ButtonPressed:monkey:monkey.types.Bool( button:mojo:mojo.input.MouseButton )
Checks if a mouse button was pressed.
Returns true if button was pressed since the last app update.
| Parameters | |
|---|---|
button |
button Button to check. |