Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

InputEventShortcut

Inherits: InputEvent < Resource < RefCounted < Object

Represents a triggered keyboard Shortcut.

Description

InputEventShortcut is a special event that can be received in Node._input, Node._shortcut_input, and Node._unhandled_input. It is typically sent by the editor's Command Palette to trigger actions, but can also be sent manually using Viewport.push_input.

Properties

Shortcut

shortcut


Property Descriptions

Shortcut shortcut 🔗

The Shortcut represented by this event. Its Shortcut.matches_event method will always return true for this event.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.