Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

keyboard_key

drewmccluskey edited this page Feb 12, 2019 · 2 revisions

keyboard_key

variable with currently used key

Returns: string

Description:

This is a variable holding the name of the currently used key.

Example:

if (mouse_check_button_pressed(MouseButtons.Left))
{
 show_message(keyboard_key);
}

This code will show the used key when you hold down a key and press the mouse left button.

Back to Keyboard

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /