RealDocs

UKismetSystemLibrary::K2_GetTimerRemainingTimeHandle

function Engine Blueprint Since 4.24
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticUFUNCTIONBlueprintPure

Description

Returns how much time remains before the timer referenced by the given handle next fires.

Caveats & Gotchas

  • Returns -1.0 if the timer no longer exists — check Does Timer Exist by Handle first if a value of exactly -1 could be a legitimate reading in your use case.
  • While paused, this keeps returning the remaining time frozen at the moment of pause rather than counting down.

Signature

static float K2_GetTimerRemainingTimeHandle(const UObject* WorldContextObject, FTimerHandle Handle);

Parameters

Name Type Description Default
WorldContextObject const UObject* Supplied automatically by the Blueprint compiler to resolve the owning world's timer manager; hidden from the node's visible pins.
Handle FTimerHandle The handle of the timer to check the remaining time of.

Return Type

float

Example

Countdown text from a stored handle (Blueprint) Blueprint
Widget graph on Tick: format 'Get Timer Remaining Time by Handle' for RoundTimerHandle to one decimal place and bind it to a countdown TextBlock.

Version History

Introduced in: 4.24

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.