editor-selection-get

Retrieve detailed information about the current selection in the Unity Editor.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/lunafish/Game00 --skill editor-selection-get
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: editor-selection-get
Source: https://github.com/lunafish/Game00/tree/main/SKILLS/editor-selection-get
Command: npx skills add https://github.com/lunafish/Game00 --skill editor-selection-get

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill retrieves detailed information about the currently selected objects within the Unity Editor, enabling programmatic access to the editor's state.

Core Features & Use Cases

  • Inspect Selection: Get details about selected GameObjects, their Transforms, Instance IDs, and Asset GUIDs.
  • Active Object Info: Retrieve information about the currently active object in the Inspector.
  • Use Case: A developer might use this to automatically log details of selected prefabs or to verify the properties of objects in a complex scene hierarchy.

Quick Start

Get the instance IDs of all currently selected objects in 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 currently selected GameObject in the Unity Editor?

To get the selected GameObject in the Unity Editor, use a retrieval method that fetches the current selection details, including the active object and its Transform data.

How can I retrieve the InstanceID or AssetGUID of selected objects in Unity?

You can retrieve the InstanceID or AssetGUID of selected objects in Unity by using specific boolean flags to control the inclusion of these data types in the selection output.

What is the best way to programmatically inspect the Unity Editor's selection state?

The best way to inspect the Unity Editor's selection state programmatically is to retrieve detailed information about selected GameObjects and Transforms to verify properties within a scene.

Can I fetch details about the active object shown in the Unity Inspector?

Yes, you can fetch details about the active object shown in the Unity Inspector by retrieving specific active object and transform details from the current editor selection.

How do I control which data types are included when fetching Unity Editor selection info?

You control which data types are included when fetching Unity Editor selection info by utilizing specific boolean flags that toggle the output of GameObjects, Transforms, InstanceIDs, and AssetGUIDs.