AActor Blueprint Nodes to C++ in Unreal Engine 5
The AActor class is the base for every placeable object in Unreal Engine 5, and most of the gameplay nodes you wire up in Blueprint map directly to AActor member functions in C++. This category covers the everyday actor operations developers reach for first: lifecycle events like BeginPlay and Tick, transform setters such as SetActorLocation, SetActorRotation, and SetActorScale3D, plus utilities like Destroy, SetActorHiddenInGame, and the various location and offset getters.
Each page shows the exact Blueprint node alongside its C++ equivalent, including the correct header declarations, override signatures, and the real UE5 API identifiers you call on an AActor*. Use it to translate a Blueprint graph into a C++ class without guessing function names.
17 nodes in this category.
Event BeginPlay
The Blueprint Event BeginPlay node maps to the virtualBeginPlay() function in C++. You override it in your actor class and call Super::BeginPlay() before running your own initialization logic.View C++ equivalent →Event Tick
The Blueprint Event Tick node corresponds to the virtualTick(float DeltaTime) function in C++. Override it, call Super::Tick(DeltaTime), and use the DeltaTime parameter for frame-rate-independent movement.View C++ equivalent →Set Actor Location
The Blueprint Set Actor Location node maps toSetActorLocation(FVector NewLocation) in C++. Pass an FVector world-space position to move the actor's root to that location.View C++ equivalent →Set Actor Rotation
The Blueprint Set Actor Rotation node maps toSetActorRotation in C++. A common pattern converts an FRotator with FQuat::MakeFromRotator(NewRotation) and passes the quaternion to set the actor's orientation.View C++ equivalent →Set Actor Scale 3D
The Blueprint Set Actor Scale 3D node maps toSetActorScale3D(FVector NewScale3D) in C++. Pass an FVector where each component scales the actor along its X, Y, and Z axes.View C++ equivalent →Set Actor Transform
The Blueprint Set Actor Transform node maps toSetActorTransform(FTransform) in C++. Build an FTransform from rotation, location, and scale, then pass it to set all three at once.View C++ equivalent →Set Actor Hidden In Game
The Blueprint Set Actor Hidden In Game node maps toSetActorHiddenInGame(bool bNewHidden) in C++. Pass true to hide the actor at runtime or false to show it.View C++ equivalent →Destroy Actor
The Blueprint Destroy Actor node maps to theDestroy() function in C++. Call Destroy() on an AActor* to mark the actor for removal from the world.View C++ equivalent →Get Actor Location / Rotation
The Blueprint Get Actor Location and Get Actor Rotation nodes map toGetActorLocation() and GetActorRotation() in C++. They return the actor's world-space FVector position and FRotator orientation.View C++ equivalent →Get Actor Forward / Right / Up Vector
The Blueprint Get Actor Forward, Right, and Up Vector nodes map toGetActorForwardVector(), GetActorRightVector(), and GetActorUpVector() in C++. Each returns a unit FVector along the actor's local axes.View C++ equivalent →Add Actor World Offset
The Blueprint Add Actor World Offset node maps toAddActorWorldOffset(FVector DeltaLocation, bool bSweep) in C++. It moves the actor relative to its current position along world axes.View C++ equivalent →Add Actor Local Offset
The Blueprint Add Actor Local Offset node maps toAddActorLocalOffset(FVector DeltaLocation, bool bSweep) in C++. It moves the actor relative to its own orientation.View C++ equivalent →Get Distance To
The Get Distance To Blueprint node isAActor::GetDistanceTo in C++. It returns the distance in Unreal units between this actor's location and OtherActor's location as a float.View C++ equivalent →Get Owner
The Get Owner Blueprint node isAActor::GetOwner in C++. It returns the AActor* that currently owns this actor, or nullptr if the actor has no owner.View C++ equivalent →Set Life Span
The Set Life Span Blueprint node isAActor::SetLifeSpan in C++. Calling SetLifeSpan(5.0f) schedules the actor to be destroyed automatically after 5 seconds.View C++ equivalent →Set Actor Tick Enabled
The Set Actor Tick Enabled Blueprint node isAActor::SetActorTickEnabled in C++. Calling SetActorTickEnabled(false) stops Tick() from being called on the actor each frame.View C++ equivalent →Set Actor Enable Collision
The Set Actor Enable Collision Blueprint node isAActor::SetActorEnableCollision in C++. Calling SetActorEnableCollision(true) enables collision on the actor and all of its components.View C++ equivalent →