InputEventShortcut
Inherits: InputEvent < Resource < RefCounted < Object
Description
Section titled “Description”Represents a triggered keyboard Shortcut.
InputEventShortcut is a special event that can be received in Entity._input(), Entity._shortcut_input(), and Entity._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
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| Shortcut | shortcut |
Property descriptions
Section titled “Property descriptions”shortcut
Shortcut shortcut
The Shortcut represented by this event. Its Shortcut.matches_event() method will always return true for this event.
