RealDocs

UKismetSystemLibrary::K2_IsTimerActive

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

Description

Returns true if a timer set with Set Timer by Function Name exists for the given object and function and is not currently paused.

Caveats & Gotchas

  • 'Active' excludes paused timers — a paused timer still exists but returns false here, matching the semantics of the handle-based Is Timer Active by Handle.
  • Two different objects using the same FunctionName are tracked independently, since the lookup key is the Object/FunctionName pair, not the string alone.

Signature

static bool K2_IsTimerActive(UObject* Object, FString FunctionName);

Parameters

Name Type Description Default
Object UObject* Object that implements the target function. Defaults to self (the blueprint the node is placed in).
FunctionName FString Name of the function to check, matched by string against the object's function table.

Return Type

bool

Example

Guard against re-triggering an ability cooldown (Blueprint) Blueprint
Event graph: on UseAbility, branch on 'Is Timer Active by Function Name' with Object = self, FunctionName = 'AbilityCooldownExpired'; only call 'Set Timer by Function Name' again if it returns false.

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.