Components

Find, create, initialize, and destroy Unreal actor components.

Use ue.components to work with components without repeating reflection boilerplate. The most common operations also have short top-level aliases.

Available API

APITop-level aliasDescription
components.findget_componentFind a component owned by an actor.
components.createcreate_componentCreate and initialize a component from a class.
components.deletedelete_componentDestroy a component through its owning actor.

ue.components.destroy is an alias of ue.components.delete.

Actor parameters accept an AActor UObjectProxy, a string query, or a descriptor returned by ue.actors.find or ue.actors.spawn.

Runtime-created components are discoverable through components.find and are included in actors.components results.

On this page