RealDocs

UKismetSystemLibrary::K2_GetTimerRemainingTimeDelegate

function Engine Blueprint Deprecated Since 4.0
Deprecated: Use Get Timer Remaining Time by Handle instead.
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticUFUNCTIONBlueprintPure

Description

Returns how much time remains before a timer set against a bound event delegate next fires. This is the deprecated 'by Event' node, superseded by the handle-based equivalent.

Caveats & Gotchas

  • Deprecated in favor of Get Timer Remaining Time by Handle — delegate-based lookups are ambiguous when the same function is bound as more than one active timer.
  • Returns -1.0 if the delegate has no active timer, which looks identical to 'about to fire' unless you also check Is Timer Active by Event first.

Signature

static float K2_GetTimerRemainingTimeDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate);

Parameters

Name Type Description Default
Delegate FTimerDynamicDelegate The bound event (K2 function or Custom Event) whose timer's remaining time is being queried. Shown as 'Event' in Blueprint.

Return Type

float

Example

Countdown display for a bound event (Blueprint) Blueprint
Event graph: feed 'Get Timer Remaining Time by Event' with the same Custom Event bound in 'Set Timer by Event' into a Format Text node to drive a countdown widget; migrate to the handle-based node when refactoring.

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.