-
-
Notifications
You must be signed in to change notification settings - Fork 19
keyboard_check_released
CryoEagle edited this page Jan 3, 2019
·
4 revisions
Returns if key is released
keyboard_check_released(Keys key)| Argument | Description |
|---|---|
Keys key |
The key to being checked if is released |
Returns: bool
This function is checking if you release your keyboard key then it will run the code.
if (keyboard_check_released(Keys.A))
{
Position.X -= 20;
}When you use this code you can very clearly see that when you held down key A and then after some time release that key the object will move 20 pixels to the left side.
Back to Mouse