Skip to content

event onMouseClick (client-side)

This event triggers whenever the user holds any button on his mouse.

Parameters

int button
  • int button: this refers to the button clicked on the mouse. For more information see mouse buttons.