Skip to main content

Actors

If a Level is a movie set, then Actors are the props, people, lights, and cameras on that set. Every object you place in a HELIX world is an Actor. That chair? Actor. That streetlight? Actor. That invisible trigger zone that opens a door? Also an Actor.

AActor is the base class for everything that exists in a Level.

Common Actor Types

TypeWhat it does
Static Mesh ActorA 3D model that doesn't move (walls, rocks, furniture)
CharacterA movable, controllable entity (players, NPCs)
LightPoint lights, spotlights, directional lights
CameraViewpoints for players or cutscenes
Trigger VolumeInvisible boxes that fire events when something enters them
Player StartWhere players spawn into the world

Spawning an Actor

You can place Actors in HELIX Studio by dragging them into the viewport, but you can also spawn them at runtime through code:

Blueprint Spawn Actor at Runtime
Event BeginPlayMake TransformLocation100, 200, 50Rotation0, 0, 0Scale1, 1, 1Return ValueSpawn Actor from ClassClassBP_MyActorSpawn TransformCollision HandlingAlways SpawnReturn Value

Destroying Actors

When you're done with an Actor (a projectile that hit something, a pickup that was collected), destroy it to free up memory:

Blueprint Destroy Actor
Event Any DamageDamageDestroy ActorTargetSelf

Finding Actors

Need to grab a reference to an Actor already in the world? You can find them by class, by tag, or by name using GetAllActorsOfClass, GetAllActorsWithTag, or by storing a reference in a variable.

tip

Avoid searching for actors every frame. Grab your references once in BeginPlay and store them in variables.