juliangrechenriquez/worldofspirits/gameobject-set-parent
- community
Checking that the SKILL.md file is still in the repository.
Reparent a batch of GameObjects under a new parent in the currently opened Prefab or active Scene. Per-item failures are reported in the returned status string instead of aborting the batch. Use 'gameobject-find' to locate the GameObjects first.
Install
npx vskill@latest install juliangrechenriquez/worldofspirits/gameobject-set-parentSKILL.md
The same SKILL.md was published earlier as ivanmurzak/unity-mcp/gameobject-set-parent.
GameObject / Set Parent
Set parent GameObject to list of GameObjects in opened Prefab or in a Scene. Use 'gameobject-find' tool to find the target GameObjects first.
Inputs
gameObjectRefs— list of children to reparent.parentGameObjectRef— new parent. Must resolve, otherwise the call returns early with an error string.worldPositionStays(defaulttrue) — preserve world-space transform when reparenting (passed toTransform.SetParent).
Behavior
Iterates gameObjectRefs and reparents each one independently; per-item resolve errors are appended to the returned status string instead of throwing. After the loop, if at least one reparent succeeded, marks the active scene dirty and repaints editor windows.
How to Call
For complex input (multi-line strings, code), save the JSON to a file and use:```bashunity-mcp-cli run-tool gameobject-set-parent --input-file args.json```Or pipe via stdin (recommended):```bashunity-mcp-cli run-tool gameobject-set-parent --input-file - <<'EOF'{"param": "value"}EOF```
Troubleshooting
If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead. Read the /unity-initial-setup skill for detailed installation instructions.
Input
| Name | Type | Required | Description | |
|---|---|---|---|---|
gameObjectRefs | any | Yes | List of references to the GameObjects to set new parent. | |
parentGameObjectRef | any | Yes | Reference to the parent GameObject. | |
worldPositionStays | boolean | No | A boolean flag indicating whether the GameObject's world position should remain unchanged when setting its parent. |
Input JSON Schema
Output
Output JSON Schema
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingWorld Of Spirits/.agents/skills/gameobject-set-parent/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/juliangrechenriquez/worldofspirits/gameobject-set-parent)