W3cubDocs

/Godot 4.2

InputEventShortcut

Inherits: InputEvent < Resource < RefCounted < Object

Represents a triggered keyboard Shortcut.

Description

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.

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.

© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_inputeventshortcut.html