get_actor_components
Lists all components on an Unreal actor in the editor or PIE world, with names, classes, active state, and mesh or light details.
Instructions
List every component on one actor in the editor OR the live PIE world: name, class, is_active, plus mesh/light details. Accepts world='editor'|'pie'|'server'|'client'|'pie:N' ('server' = the PIE world with authority, 'client' = the other one) and stamps world_name/world_package/net_mode/pie_instance so a co-op reading says WHICH world it came from. Use this to discover component names; then get_component_properties (also world-aware) for their values -- reading with the default world='editor' returns the pre-BeginPlay archetype, not the running actor.
Returns: { actor_name: string, actor_class: string, world: string, components: [{ name: string, class: string, is_active: bool, is_editable: bool, type?: string, mesh_name?: string, intensity?: number, light_color?: string }], components_count: number, world_name: string|null, world_package: string|null, world_type: string|null, net_mode: string|null, pie_instance: number }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| world | No | Optional world selector: absent/'editor' (default) | 'pie' (ambiguous: PlayWorld, else the first PIE context) | 'server' (the PIE world with authority) | 'client' | 'pie:N' | 'game' (alias of 'pie'). | |
| actor_name | Yes | Actor's internal name (GetName) or editor label (GetActorLabel); exact match, not a substring. |