editor-selection-set

Set the Unity Editor selection to provided objects with instanceIDs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/igot-ai/os-twin --skill editor-selection-set-igot-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: editor-selection-set
Source: https://github.com/igot-ai/os-twin/tree/main/.agents/skills/roles/game-engineer/develop-unity-ui/references/editor-selection-set
Command: npx skills add https://github.com/igot-ai/os-twin --skill editor-selection-set-igot-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Set the Unity Editor selection to the provided objects, enabling automated editor workflows.

Core Features & Use Cases

  • Programmatic selection: Update the active selection to one or more Unity objects such as GameObjects, Components, or Assets.
  • Editor automation: Streamline tasks like batch edits, prefab editing, and scripted editor sessions.
  • Use Case: Imagine a tool that pre-selects a group of related objects to apply a bulk change.

Quick Start

Provide a list of Unity objects to select, then call the editor-selection-set tool to update the active 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 for multiple objects?▼

To set Unity Editor selection programmatically, provide a list of Unity objects with instanceIDs. The tool updates the active selection and returns structured SelectionData containing the selected GameObjects, Transforms, and related metadata.

What is the best way to automate batch selection of GameObjects in the Unity Editor?▼

The best way to automate batch selection of GameObjects in the Unity Editor is by passing object references to an automation tool. This updates the active selection instantly, enabling subsequent bulk changes or prefab editing workflows.

Can I use MCP scripting to update Unity Editor selection for prefab editing workflows?▼

Yes, you can use MCP scripting to update Unity Editor selection for prefab editing workflows. By supplying target object references, the tool sets the current selection, allowing scripted editor sessions to apply batch edits efficiently.

What object references do I need to automate Unity Editor selection?▼

To automate Unity Editor selection, you need object references that include an instanceID. The tool uses these identifiers to locate and select the specified Unity objects, returning a structured SelectionData output with Transforms and metadata.

Does the Unity Editor selection tool return metadata about the selected objects?▼

Yes, the Unity Editor selection tool returns structured SelectionData containing the selected GameObjects, Transforms, and related metadata. This output helps verify the active selection within your editor automation workflows.