editor-selection-get

Installation
SKILL.md

Editor / Selection / Get

Get information about the current Selection in the Unity Editor. Use 'editor-selection-set' tool to set the selection.

Toggles (default off where indicated to keep responses small)

  • includeGameObjects (default false) — populate GameObjects[].
  • includeTransforms (default false) — populate Transforms[] as ComponentRefs.
  • includeInstanceIDs (default false) — populate InstanceIDs[].
  • includeAssetGUIDs (default false) — populate AssetGUIDs[] from project-window selection.
  • includeActiveObject (default true) — populate ActiveObject as a generic ObjectRef.
  • includeActiveTransform (default true) — populate ActiveTransform as a ComponentRef.

ActiveGameObject and ActiveInstanceID are always populated.

How to Call

Installs
1
GitHub Stars
4.6K
First Seen
Aug 21, 2026