Simulates the press of a given key.


GML Code Example


Argument Description
key The key to simulate a press of.

Returns: N/A


With this function you can simulate the press 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.


GML Code Example


This will simulate a spacebar press.

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