Instance a scene
scene_instanceCreates an instance of a scene within another, linking them so source edits update the instance automatically.
Instructions
Place one scene inside another as an instance (not a copy), so later edits to the source propagate. This is how prefabs work in Godot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the instance node. | |
| count | No | Create this many, numbered. | |
| force | No | ||
| scene | Yes | Scene that receives the instance. | |
| parent | No | Parent node path inside the receiving scene. | . |
| project | No | Godot project folder (the one with project.godot). Optional if the server was started with --project. | |
| instance | Yes | Scene to instance into it. | |
| properties | No | Property values. JSON types are converted automatically: [x,y] -> Vector2, [x,y,z] -> Vector3, "#rrggbb" -> Color, "res://..." -> loaded resource, "CONSTANT_NAME" -> enum value. |