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
| API | Top-level alias | Description |
|---|---|---|
components.find | get_component | Find a component owned by an actor. |
components.create | create_component | Create and initialize a component from a class. |
components.delete | delete_component | Destroy 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.