Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetSystemLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
| Include | #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
)
Remarks
Perform a latent action with a retriggerable delay (specified in seconds). Calling again while it is counting down will reset the countdown to Duration.
Parameters
| Name | Description |
|---|---|
| WorldContext | World context. |
| Duration | length of delay (in seconds). |
| LatentInfo | The latent action. |