set_input_action_trigger_behavior
Tune InputAction trigger behavior by setting actuation thresholds, hold times, tap release windows, and time-dilation sensitivity for Hold, Tap, and timed triggers.
Instructions
Tune HOW an input trigger fires on an InputAction: actuation threshold, hold time and one-shot for Hold triggers, tap release window for Tap, time-dilation sensitivity for timed ones -- i.e. how long "hold E to interact" must be held. Address the trigger either by index or by trigger_class (first of that type). Only the fields you pass change; the action is saved, and the call succeeds only when it reaches disk. Add the trigger first with add_input_trigger and re-read with get_input_action.
Returns: { action_path, action_name, trigger_index, trigger_class, properties_set, trigger, saved, save_error? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_name | No | Fallback for action_path when action_path is absent. | |
| action_path | No | Asset path of the Input Action (or short asset name). | |
| is_one_shot | No | When set, UInputTriggerHold::bIsOneShot (bool). Hold triggers only. | |
| trigger_class | No | Select the first trigger of this type (Down|Pressed|Released|Hold|Tap|Pulse|ChordAction) instead of an index. | |
| trigger_index | No | Index into the action's Triggers array to edit. Mutually exclusive with trigger_class. | |
| tap_release_time | No | When set, UInputTriggerTap::TapReleaseTimeThreshold (float). Tap triggers only. | |
| actuation_threshold | No | When set, the base UInputTrigger::ActuationThreshold (float). | |
| hold_time_threshold | No | When set, UInputTriggerHold::HoldTimeThreshold (float). Hold triggers only. | |
| affected_by_time_dilation | No | When set, UInputTriggerTimedBase::bAffectedByTimeDilation (bool). Timed triggers only. |