Skip to content
Download
API reference

InputTriggerPressed

Inherits: InputTrigger < Resource < Shared < Object

Fires once, on the frame the input is pressed.

The action is triggered only on the frame the value becomes pressed (reaches InputTrigger.actuation_threshold). Holding the key doesn’t fire it again: on the next frame the action completes, and the key must be released and pressed again to fire it once more. Use it for one-off actions: jump, interact, open a menu.

The press frame emits InputAction.started and InputAction.triggered, the frame after, InputAction.completed.