GM: keyboard check

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is keyboard_check(key). It appears incorrectly here because of technical restrictions.
The correct title of this article is keyboard_check(). It appears incorrectly here because of technical restrictions.


Arguments

The pressed key. One of the Keyboard key codes or an ord function for a letter.

Limitations

none

Note: Please remove limitations and port them in the "Remarks" section at the end of the article.

This function will return true if the key being checked is pressed and false if the key is not pressed.

[edit] See Also

This article was originally found at the Game Maker Knowledge Base, contributed by nickydude.
See the talk page for details
Personal tools