MouseClickedEvent
Gets called when the mouse is clicked.
Extends
Methods
cancel()
cancel():
void
Cancels the event.
Returns
void
Inherited from
getButton()
getButton():
string
Gets the button that was clicked.
Returns
string
the type of MouseClickedEvent can be: LEFT, RIGHT, or HOLD_LEFT
isCancelled()
isCancelled():
boolean
Returns
boolean
If the event is cancelled or not.
Inherited from
Last updated