spawn_actor
Create an actor in the Unreal Editor world using a class path, with optional location, rotation, label, and initial properties.
Instructions
Create an actor in the current editor world at a location with optional rotation, label, and initial properties. Class path can be built-in (/Script/Engine.StaticMeshActor) or Blueprint (/Game/Blueprints/BP_X.BP_X_C).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_path | Yes | Actor class path. | |
| location | No | World-space {x, y, z}. Defaults to {0,0,0}. | |
| rotation | No | {pitch, yaw, roll} in degrees. Defaults to {0,0,0}. | |
| label | No | Visible name in World Outliner; defaults to UE auto-naming. | |
| properties | No | Map of {PropertyName: value} applied immediately after spawn via PropertyCoercion. |