UKismetSystemLibrary::K2_SetTimerForNextTick
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintCallable
Description
Schedules a named function to run once on the very next tick, deferring execution by a single frame rather than a fixed time delay.
Caveats & Gotchas
- • This is a one-shot deferral, not a Time = 0 timer in the general sense — it always fires on the next tick regardless of frame rate, whereas Set Timer by Function Name with Time = 0 clears any existing timer instead of scheduling one.
- • FunctionName is matched by reflection at runtime, so a renamed target function fails silently at the moment the deferred call fires rather than at compile time.
- • Useful for breaking out of the current call stack (e.g. avoiding re-entrant construction logic) without introducing a real time-based delay.
Signature
static FTimerHandle K2_SetTimerForNextTick(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 call on the next tick — either a K2 function or a Custom Event, matched by string. | — |
Return Type
FTimerHandle Example
Defer initialization by one frame (Blueprint) Blueprint
Construction script or BeginPlay: call 'Set Timer for Next Tick by Function Name' with Object = self, FunctionName = 'InitializeAfterComponentsReady' to let all components finish their own BeginPlay before running dependent setup logic. Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?