RealDocs

UActorComponent::GetComponentTickInterval

function Engine Blueprint Since 4.0
#include "Components/ActorComponent.h"
Access: public Specifiers: ENGINE_APIUFUNCTIONBlueprintCallableconst

Description

Returns the tick interval for this component's primary tick function — the frequency in seconds at which it executes.

Caveats & Gotchas

  • A return value of 0 means the component ticks every frame (no throttle), not that ticking is disabled.
  • This reflects the configured interval, not necessarily how long ago the last tick fired — the actual elapsed time may differ if frames are slow.

Signature

ENGINE_API float GetComponentTickInterval() const;

Return Type

float

Example

Check current tick rate before changing it C++
float CurrentInterval = GetComponentTickInterval();
if (CurrentInterval < 0.5f)
{
	SetComponentTickInterval(0.5f);
}

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.