Allows your game to respond to keyboard input. Note that this does not work with on-screen keyboard on touch devices: use instead conditions related to touch when making a game for mobile/touchscreen devices. Read more explanations about it.
Any key pressed
Check if any key is pressed
Any key released
Check if any key is released
Key pressed (text expression)
Check if a key, retrieved from the result of the expression, is pressed
Key released (text expression)
Check if a key, retrieved from the result of the expression, was just released
Check if a key is pressed
Check if a key was just released
||Get the name of the latest key pressed on the keyboard|
This page is an auto-generated reference page about the Keyboard feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.