getMouseButtonState
Script::getMouseButtonState
Returns the state of a mouse button.
Declaration
InputState getMouseButtonState(InputMouseButton mouseButton, WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);
Parameters
Name |
Type |
Description |
---|---|---|
mouseButton |
The mouse button to check the state of. |
|
windowID |
The window to check the mouse button state on. By default, this window will be the main window. |
Returns
An InputState containing the state of the mouse button.