Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Sets the Unity Editor's current selection to the given objects, throwing if any reference fails to resolve.
32% 86%+55 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 7 of 22 without it.
3 of 3 safety checks passed
Not used yet
Set the current Selection in the Unity Editor to the provided objects. Use 'editor-selection-get' tool to get the current selection first.
select — array of ObjectRef. Every entry MUST resolve via FindObject(); otherwise the tool throws before touching Selection.objects.Assigns the resolved array to Selection.objects, then calls UnityEditorInternal.InternalEditorUtility.RepaintAllViews() so Hierarchy/Inspector reflect the change. Returns the post-change SelectionData snapshot.
unity-mcp-cli run-tool editor-selection-set --input '{
"select": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool editor-selection-set --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool editor-selection-set --input-file - <<'EOF' {"param": "value"} EOF
If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead.
Read the /unity-initial-setup skill for detailed installation instructions.
Next to this one in the catalogue, plus more from the same author.