editor-selection-get

Report selected GameObjects, Transforms, instance IDs, and asset GUIDs from the Unity Editor.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Silac1995/My-World-Isekai-Unity --skill editor-selection-get-silac1995
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: editor-selection-get
Source: https://github.com/Silac1995/My-World-Isekai-Unity/tree/main/.claude/skills/editor-selection-get
Command: npx skills add https://github.com/Silac1995/My-World-Isekai-Unity --skill editor-selection-get-silac1995

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Locating and interpreting the current Selection in the Unity Editor can be error-prone and time-consuming when scripting or debugging.

Core Features & Use Cases

  • Retrieve details about the selected GameObject(s), transforms, instance IDs, asset GUIDs, and the active object.
  • Support both single and multi-object selections to help validation before batch operations.
  • Use Case: When implementing batch edits, rename, or property changes, you can confirm the exact selection context before applying changes.

Quick Start

Use the editor-selection-get tool to fetch the current selection details from the Unity Editor.

Frequently Asked Questions about editor-selection-get

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

FAQPage Schema
How do I get the current Unity Editor selection details for debugging?

To get the current Unity Editor selection, use a CLI tool that reports selected GameObjects, Transforms, instance IDs, and asset GUIDs. This allows you to quickly inspect and validate the exact objects chosen before applying batch edits or property changes.

Can I retrieve multiple selected GameObjects and the active Transform in Unity?

Yes, you can retrieve multiple selected GameObjects and the active Transform in Unity. The inspection tool supports both single and multi-object selections, using flags like includeGameObjects, includeTransforms, and includeActiveTransform to report the exact selection set.

What is the best way to confirm my Unity selection context before batch operations?

The best way to confirm your Unity selection context is to fetch the current selection details, including instance IDs and asset GUIDs. Validating the active object and selected transforms ensures you apply batch operations, renames, or property changes only to the intended targets.

Does the Unity selection inspector support retrieving asset GUIDs and instance IDs?

Yes, the Unity selection inspector supports retrieving asset GUIDs and instance IDs. By enabling the includeInstanceIDs and includeAssetGUIDs flags, you can accurately identify selected objects programmatically, which is crucial for reliable scripting and editor tooling workflows.

Why does locating the current Unity Editor selection become error-prone during scripting?

Locating the current Unity Editor selection becomes error-prone during scripting because manually interpreting multiple selected objects, active transforms, and instance IDs is time-consuming.Automating this retrieval via a CLI tool eliminates manual checks and ensures accurate validation before executing operations.