Skip to content

Mojo input mousedevice buttonpressed

mojo:mojo.input.MouseDevice.ButtonPressed

Method ButtonPressed:Bool( button: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.