Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

InputEventShortcut

Inherits: InputEvent < Resource < RefCounted < Object

Represents a triggered keyboard Shortcut.

描述

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

属性

Shortcut

shortcut


Property Descriptions

Shortcut shortcut

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