AActor::GetTickableWhenPaused
#include "GameFramework/Actor.h"
Access: public
Specifiers: UFUNCTIONBlueprintCallable
Description
Returns whether this actor's primary tick function is set to tick even when the game is paused.
Caveats & Gotchas
- • This reflects the actor's own tick function setting only. Owned components may have independent bTickEvenWhenPaused settings that are not reflected here.
- • The function is not marked const in the header despite having no side effects; this is an oversight in the engine source.
Signature
bool GetTickableWhenPaused() Return Type
bool Example
Conditionally allow pause-time ticking C++
void APauseMenuActor::BeginPlay()
{
Super::BeginPlay();
if (!GetTickableWhenPaused())
{
SetTickableWhenPaused(true);
}
} Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?