spatial_add_asset_to_scene
Place an asset into the current Unreal level with optional tags, data layers, and transform. Preview changes with dry-run before applying mutation.
Instructions
Plan or place one asset into the current level using Unreal Python.
KB: see knowledge_base/10_WORLD_BUILDING.md#9-world-building-best-practices
This is a clean-room scene-placement bridge inspired by Ghost's spatial awareness gap. It is dry-run by default and requires allow_mutation=true before changing the editor scene.
Example: spatial_add_asset_to_scene( asset_path="/Game/Props/SM_Table.SM_Table", tags=["Gameplay_POI"], data_layer_names=["Gameplay_POIs"], dry_run=True, )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| scale | No | ||
| dry_run | No | ||
| location | No | ||
| rotation | No | ||
| asset_path | Yes | ||
| actor_label | No | ||
| select_actor | No | ||
| allow_mutation | No | ||
| focus_viewport | No | ||
| data_layer_names | No | ||
| fail_on_missing_data_layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |