Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetSystemLibrary
Description
Perform a latent action with a retriggerable delay (specified in seconds). Calling again while it is counting down will reset the countdown to Duration.
| Name | RetriggerableDelay |
| 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,
Meta=(Latent, LatentInfo="LatentInfo", WorldContext="WorldContextObject", Duration="0.2", Keywords="sleep"),
Category="Utilities|FlowControl")
static void RetriggerableDelay
(
const UObject * WorldContextObject,
float Duration,
FLatentActionInfo LatentInfo
)
Parameters
| Name | Remarks |
|---|---|
| WorldContext | World context. |
| Duration | length of delay (in seconds). |
| LatentInfo | The latent action. |