RealDocs

AActor::IsReplicatingMovement

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

Description

Returns the current value of `bReplicateMovement`, indicating whether the engine's built-in movement replication is enabled for this actor.

Caveats & Gotchas

  • Returning true does not mean the actor is actually moving — it only means the `ReplicatedMovement` struct (position, rotation, velocity) will be replicated when the actor moves. If the actor has a custom movement component that manages its own replication, this flag may be redundant.
  • This accessor exists because `bReplicateMovement` is private and may be further restricted in future engine versions. Do not access the property directly; use this method and its setter counterpart `SetReplicatingMovement()`.

Signature

bool IsReplicatingMovement() const

Return Type

bool

Example

Conditionally enable physics replication C++
void AMyActor::EnablePhysicsReplication()
{
    if (!IsReplicatingMovement())
    {
        SetReplicatingMovement(true);
    }
}

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.