gameobject-create

Creates a new GameObject in an open Unity Prefab or Scene with optional transform settings.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill gameobject-create-ishaansingh-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gameobject-create
Source: https://github.com/ishaansingh-ai/Mechanical-2D/tree/main/.claude/skills/gameobject-create
Command: npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill gameobject-create-ishaansingh-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Manually creating GameObjects in Unity scenes or prefabs through the editor is repetitive, especially when building hierarchies programmatically. This Skill creates GameObjects directly via the unity-mcp-cli tool with full control over naming, parenting, and transform values. ## Core Features & Use Cases - GameObject Creation: Create empty or primitive GameObjects (Sphere, Cube, Capsule, Cylinder, Plane, Quad) in an open Prefab or active Scene. - Transform Control: Set position, rotation, and scale at creation time in world or local space to reduce follow-up operations. - Hierarchy Placement: Attach the new GameObject to a parent via instanceID, hierarchy path, or name reference. - Use Case: While building a level, create a Cube named "Platform" parented under "Environment/Ground" at a specific position without touching the Unity editor. ## Quick Start Ask the AI to create a new GameObject named Player with a Cube primitive type at position 0, 1, 0 in the current Unity scene.

Frequently Asked Questions about gameobject-create

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

FAQPage Schema
How do I create a GameObject in Unity from the command line?▼

Run unity-mcp-cli run-tool gameobject-create with a JSON input containing at least a name field. You can also pass position, rotation, scale, and a parentGameObjectRef to place the GameObject in the hierarchy.

How do I create a primitive object like a Cube or Sphere in Unity via MCP?▼

Set the primitiveType parameter to one of Sphere, Capsule, Cylinder, Cube, Plane, or Quad in the input JSON. The tool creates the primitive GameObject in the open Prefab or active Scene.

How do I parent a new GameObject to an existing one in Unity?▼

Provide the parentGameObjectRef parameter using an instanceID, hierarchy path, or GameObject name. If omitted, the new GameObject is created at the root of the scene or prefab.

What should I do if unity-mcp-cli is not found?▼

Install it globally with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli. The unity-initial-setup skill contains detailed installation instructions.

Can I set position and rotation when creating a Unity GameObject?▼

Yes, pass position, rotation, and scale as Vector3 objects with x, y, z values. Use the isLocalSpace boolean to choose between world and local space coordinates.