scene-move-game-objects-to-parent
Move game objects to a new parent in a Phaser scene by specifying object IDs and optional parent ID. Reorganize the scene hierarchy.
Instructions
Move the given objects to the given parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | The `id` of the scene. The `id` is not the name of the scene, else a unique identifier is set in the scene data. You need to read the scene data to get the `id`. | |
| parentId | No | The `id` of the parent to move the objects to. If no parent is given, the objects will be moved to the root of the scene. | |
| objectIds | Yes | The `id`s of the objects to move. |