RealDocs

AActor::GetActorTickInterval

function Engine Blueprint Since 4.0
#include "GameFramework/Actor.h"
Access: public Specifiers: UFUNCTIONBlueprintCallable

Description

Returns the current minimum tick interval (in seconds) of this actor's primary tick function. A return value of 0 means the actor ticks every frame.

Caveats & Gotchas

  • The returned value is the configured minimum interval, not the actual time since the last tick. Use your own timer if you need elapsed time since last tick.
  • Does not reflect component tick intervals — each component maintains its own interval.

Signature

float GetActorTickInterval() const

Return Type

float

Example

Log current tick rate C++
void AMyActor::DebugPrintTickRate() const
{
    float Interval = GetActorTickInterval();
    UE_LOG(LogTemp, Log, TEXT("Tick interval: %.3f s (%s)"),
        Interval,
        Interval <= 0.f ? TEXT("every frame") : *FString::Printf(TEXT("%.1f Hz"), 1.f / Interval));
}

Tags

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.