editor-selection-set

Set the Unity Editor's current selection to provided object references.

3.8k|349|Updated Apr 2, 2025
One-click install
npx skills add https://github.com/IvanMurzak/Unity-MCP --skill editor-selection-set-ivanmurzak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: editor-selection-set
Source: https://github.com/IvanMurzak/Unity-MCP/tree/main/Unity-MCP-Plugin/.claude/skills/editor-selection-set
Command: npx skills add https://github.com/IvanMurzak/Unity-MCP --skill editor-selection-set-ivanmurzak

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically sets the Unity Editor's current selection to a provided set of objects, removing manual clicking and speeding up editor workflows.

Core Features & Use Cases

  • Programmatically set the active selection in the Unity Editor from JSON input.
  • Supports single or multiple objects, including GameObjects, Components, or assets referenced by their Unity object identifiers.
  • Use cases include batch editing, scripted scene setup, and automated prefab workflows where precise selection is required.

Quick Start

Call the editor-selection-set tool with a JSON payload containing the select field to apply the new selection.

Frequently Asked Questions about editor-selection-set

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set Unity Editor selection programmatically from a script?

The Skill validates inputs as UnityEngine.Object references, enabling precise or batch selection within scenes, prefabs, or assets. It is designed for automated editor workflows, batch editing, and scripted scene setups where manual clicking is inefficient.

Can I select multiple objects in the Unity Editor at the same time?

Yes, you can select multiple objects in the Unity Editor simultaneously by providing multiple object references in the input. The tool supports setting both single and multiple active selections for GameObjects, Components, or assets.

What types of Unity objects can I target for automated selection?

You can target GameObjects, Components, or assets referenced by their Unity object identifiers for automated selection. Inputs are strictly validated as UnityEngine.Object references to ensure accurate selection within the editor environment.

Does setting Unity Editor selection work for assets and prefabs?

After setting the Unity Editor selection, the tool returns details about the active selection. This allows you to verify the applied objects programmatically and proceed with downstream batch editing or scripted scene workflows.