delete_actor
Removes an actor by name from the Unreal Editor world. Detaches children without destroying them; optional force flag overrides attached-children safety check.
Instructions
Remove an actor from the editor world by name (label or FName). Children are detached, not destroyed (UE's default behavior). Force flag overrides the children-attached safety check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Actor label OR FName. | |
| force | No | When false (default), refuses to delete if children are attached and returns has_children error. When true, deletes anyway. |