keyboard_key_release

Simulates the release of a given key.

Syntax:

GML Code Example

keyboard_key_release(key);


Argument Description
key The key to simulate a release of.


Returns: Boolean


Description

With this function you can simulate the release of any key on the keyboard. The function accepts any of the vk_ constants as well as the standard keys and even the ascii code.


Example:

GML Code Example

keyboard_key_release(vk_space);
 

This will simulate a spacebar release.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here