-
-
Notifications
You must be signed in to change notification settings - Fork 18
keyboard_check_direct
drewmccluskey edited this page Feb 12, 2019
·
2 revisions
Returns if kea y is held down, even when the window is not focused
keyboard_check_direct(Keys key)
Argument | Description |
---|---|
Keys key |
Returns if key is held down |
Returns: bool
Returns if a key is held down, even when is a window not focused so the window can be minimized and the game will still check for keyboard input.
if (keyboard_check_direct(Keys.D))
{
show_message("click");
}
This code will popup message "click" even when the window is minimized.
Back to Keyboard