Actor

Actor

Choose your operating system:

Windows

macOS

Linux

On this page

Actions

Actor Has Tag

See if this actor's Tags array contains the supplied name tag

Target is Actor

Destroy Actor

Destroy the actor

Target is Actor

Find Nearest Actor

Returns an Actor nearest to Origin from ActorsToCheck array.

Target is Gameplay Statics

Get Actor Eyes View Point

Returns the point of view of the actor. Note that this doesn't mean the camera, but the 'eyes' of the actor. For example, for a Pawn, this would define the eye height location, and view rotation (which is different from the pawn rotation which has a zeroed pitch component). A camera first person view will typically use this view point. Most traces (weapon, AI) will be done from this view point.

Target is Actor

Get Actor List from Component List

Returns an array of unique actors represented by the given list of components.

Target is Kismet System Library

Get Actor Of Class

Find the first Actor in the world of the specified class. This is a slow operation, use with caution e.g. do not use every frame.

Target is Gameplay Statics

Get Actor Time Dilation

Get ActorTimeDilation - this can be used for input control or speed control for slomo. We don't want to scale input globally because input can be used for UI, which do not care for TimeDilation.

Target is Actor

Get All Actors Of Class

Find all Actors in the world of the specified class. This is a slow operation, use with caution e.g. do not use every frame.

Target is Gameplay Statics

Get All Actors Of Class with Tag

Find all Actors in the world of the specified class with the specified tag. This is a slow operation, use with caution e.g. do not use every frame.

Target is Gameplay Statics

Get All Actors with Interface

Find all Actors in the world with the specified interface. This is a slow operation, use with caution e.g. do not use every frame.

Target is Gameplay Statics

Get All Actors with Tag

Find all Actors in the world with the specified tag. This is a slow operation, use with caution e.g. do not use every frame.

Target is Gameplay Statics

Get All Child Actors

Returns a list of all actors spawned by our Child Actor Components, including children of children. This does not return the contents of the Children array

Target is Actor

Get Attach Parent Actor

Walk up the attachment chain from RootComponent until we encounter a different actor, and return it. If we are not attached to a component in a different actor, returns nullptr

Target is Actor

Get Attach Parent Socket Name

Walk up the attachment chain from RootComponent until we encounter a different actor, and return the socket name in the component. If we are not attached to a component in a different actor, returns NAME_None

Target is Actor

Get Attached Actors

Find all Actors which are attached directly to a component in this actor

Target is Actor

Get Component by Class

Searches components array and returns first encountered component of the specified class

Target is Actor

Get Components By Class

Gets all the components that inherit from the given class. Currently returns an array of UActorComponent which must be cast to the correct type. This intended to only be used by blueprints. Use GetComponents() in C++.

Target is Actor

Get Components by Interface

Gets all the components that implements the given interface.

Target is Actor

Get Components by Tag

Gets all the components that inherit from the given class with a given tag.

Target is Actor

Get Game Time Since Creation

The number of seconds (in game time) since this Actor was created, relative to Get Game Time In Seconds.

Target is Actor

Get Life Span

Get the remaining lifespan of this actor. If zero is returned the actor lives forever.

Target is Actor

Get Owner

Get the owner of this Actor, used primarily for network replication.

Target is Actor

Get Parent Actor

If this Actor was created by a Child Actor Component returns the Actor that owns that Child Actor Component

Target is Actor

Get Parent Component

If this Actor was created by a Child Actor Component returns that Child Actor Component

Target is Actor

Is Child Actor

Returns whether this Actor was spawned by a child actor component

Target is Actor

Set Life Span

Set the lifespan of this actor. When it expires the object will be destroyed. If requested lifespan is 0, the timer is cleared and the actor will not be destroyed.

Target is Actor

Set Owner

Set the owner of this Actor, used primarily for network replication.

Target is Actor

Categories

Tick

Tick