ue_list_editor_selection
Retrieve the current actor selection from the Unreal Editor viewport. Returns actor names, classes, and locations as JSON to enable context-aware scripting.
Instructions
Return what is currently selected in the Unreal Editor viewport.
Useful for context-aware scripting: "what is the AI looking at right now?"
Returns: JSON string: { "success": true, "selected_actors": [ {"name": "SM_Table_1", "class": "StaticMeshActor", "location": [0,0,0]}, ... ], "count": 1 }
KB: see knowledge_base/12_MCP_TOOL_USAGE_GUIDE.md#overview Example: ue_list_editor_selection()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |