duplicate_gameobject
Duplicate any GameObject in the Unity scene by path, name, or instance ID, with an option to assign a new name.
Instructions
Duplicates a GameObject in the scene, optionally with a new name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | No | Optional new name for the duplicated GameObject | |
| instanceId | No | The instance ID of the GameObject to duplicate | |
| objectName | No | The name of the GameObject to duplicate | |
| objectPath | No | The path of the GameObject to duplicate (e.g. "Canvas/Panel/Button") |