Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetSystemLibrary
Description
Perform a latent action with a delay of one tick. Calling again while it is pending will be ignored. Note that this delay is until the object's next tick, which may occur subsequently during the current engine frame.
| Name | DelayUntilNextTick |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
| Include Path | #include "Kismet/KismetSystemLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Utilities|FlowControl",
Meta=(Latent, WorldContext="WorldContextObject", LatentInfo="LatentInfo", Keywords="sleep"))
static void DelayUntilNextTick
(
const UObject * WorldContextObject,
FLatentActionInfo LatentInfo
)
Parameters
| Name | Remarks |
|---|---|
| WorldContext | World context. |
| LatentInfo | The latent action. |
See Also
- DelayUntilNextFrame for a guaranteed wait until next engine frame's tick. Enabling the CVar 'LatentActions.GuaranteeNextTickDelay' will guarantee this delay waits until next frame's tick.