-
-
Notifications
You must be signed in to change notification settings - Fork 18
mouse_check_button_released
CryoEagle edited this page Jan 3, 2019
·
4 revisions
Returns if mouse is released
mouse_check_button_released(button)
Argument | Description |
---|---|
button |
The mouse button to being checked if is released |
Returns: bool
This function is like mouse_check_button()
but this will run code only once when you release mouse button.
if (mouse_check_button_released(MouseButtons.mb_left))
{
room_restart();
}
This code will restart your room when you release mouse.
Back to Mouse