OnClientGUIClick
Jump to navigation
Jump to search
This event is fired when the user clicks a GUI element.
Parameters
string button, string state, int absoluteX, int absoluteY
- button: the name of the mouse button that the GUI element was clicked with.
- state: the state of the mouse button. "down" or "up".
- absoluteX: the X position of the mouse cursor, in pixels, measured from the left side of the screen.
- absoluteY: the Y position of the mouse cursor, in pixels, measured from the top of the screen.