unreal.InputTriggerTap

class unreal.InputTriggerTap(outer=None, name='None')

Bases: unreal.InputTriggerTimedBase

UInputTriggerTap

Input must be actuated then released within TapReleaseTimeThreshold seconds to trigger.

C++ Source:

  • Plugin: EnhancedInput

  • Module: EnhancedInput

  • File: InputTriggers.h

Editor Properties: (see get_editor_property/set_editor_property)

  • actuation_threshold (float): [Read-Write] Actuation Threshold: Point at which this trigger fires

  • affected_by_time_dilation (bool): [Read-Write] Affected by Time Dilation: Should global time dilation be applied to the held duration? Default is set to false.

    If this is set to true, then the owning Player Controller’s actor time dialtion will be used when calculating the HeldDuration.

    See: UInputTriggerTimedBase::CalculateHeldDuration See: AWorldSettings::GetEffectiveTimeDilation

  • held_duration (float): [Read-Write] Held Duration: How long have we been actuating this trigger?

  • last_value (InputActionValue): [Read-Write] Last Value: Value passed to UpdateState on the previous tick. This will be updated automatically after the trigger is updated.

  • tap_release_time_threshold (float): [Read-Write] Tap Release Time Threshold: Release within this time-frame to trigger a tap

property tap_release_time_threshold

[Read-Write] Tap Release Time Threshold: Release within this time-frame to trigger a tap

Type

(float)