mouse_clear(button);
Argument | Description |
---|---|
button | Which mouse button constant to check for. |
Returns: Boolean
This function will clear the state of any mouse buttons
currently being used. This means that checks for their being held
down/released will not return true until the player
releases the buttons and represses them.
mouse_clear(mb_any);
The above code will clear the down state of all the mouse buttons.