editor-selection-set

Installation
SKILL.md

Editor / Selection / Set

Set the current Selection in the Unity Editor to the provided objects. Use 'editor-selection-get' tool to get the current selection first.

Inputs

  • select — array of ObjectRef. Every entry MUST resolve via FindObject(); otherwise the tool throws before touching Selection.objects.

Behavior

Assigns the resolved array to Selection.objects, then calls UnityEditorInternal.InternalEditorUtility.RepaintAllViews() so Hierarchy/Inspector reflect the change. Returns the post-change SelectionData snapshot.

How to Call

unity-mcp-cli run-tool editor-selection-set --input '{
  "select": "string_value"
}'
Installs
1
GitHub Stars
4.6K
First Seen
Aug 21, 2026