gameobject-set-parent

Re-parent multiple Unity GameObjects to a new parent in Prefabs or Scenes.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/lightvu25/Echoes --skill gameobject-set-parent-lightvu25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gameobject-set-parent
Source: https://github.com/lightvu25/Echoes/tree/main/SKILLS/gameobject-set-parent
Command: npx skills add https://github.com/lightvu25/Echoes --skill gameobject-set-parent-lightvu25

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Re-parent multiple GameObjects to a new parent within an opened Unity Prefab or Scene, using the gameobject-find tool to locate targets when needed.

Core Features & Use Cases

  • Re-parent multiple GameObjects to a new parent in Prefabs or Scenes.
  • Optional worldPositionStays flag to preserve world positions during re-parenting.
  • Supports batch operations for level design, scene organization, and asset management.

Quick Start

Use the gameobject-find tool to locate the target GameObjects, then call the skill with the required gameObjectRefs and parentGameObjectRef, optionally setting worldPositionStays.

Frequently Asked Questions about gameobject-set-parent

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

FAQPage Schema
How do I re-parent multiple GameObjects in a Unity scene at once?

To re-parent multiple GameObjects in a Unity scene, you provide the target gameObjectRefs and a parentGameObjectRef to batch process hierarchy organization. It utilizes the gameobject-find tool to locate targets before executing the bulk re-parenting operation.

Can I preserve world positions when changing a GameObject's parent in Unity?

Yes, you can preserve world positions when changing a GameObject's parent by setting the optional worldPositionStays flag. This ensures the re-parented objects maintain their original spatial transforms during scene or prefab hierarchy reorganization.

Does this bulk re-parenting approach work on Unity prefabs as well as scenes?

Yes, this bulk re-parenting approach works directly on both opened Unity prefabs and scenes. It supports batch operations for level design, scene organization, and asset management by reassigning groups of objects to a new parent.

What is the best way to organize a large Unity hierarchy during level design?

The best way to organize a large Unity hierarchy during level design is using batch re-parenting operations. By supplying multiple gameObjectRefs and a single parentGameObjectRef, you can quickly reassign groups of objects to clean up scene structures.

Do I need the gameobject-find tool to locate targets before re-parenting?

You need the gameobject-find tool to locate target GameObjects before re-parenting when you do not have direct references. Once located, you pass these targets as gameObjectRefs along with the parentGameObjectRef to execute the hierarchy changes.

What inputs are required to batch re-parent GameObjects in Unity?

To batch re-parent GameObjects in Unity, the required inputs are gameObjectRefs for the targets and parentGameObjectRef for the new parent. An optional worldPositionStays flag is also available to control spatial transform behavior.