create_node
Create a node of any class and add it to the open scene, with undo support. Specify the node class and optional parent.
Instructions
Create a node of the given class and add it to the open scene (undoable). parent = a node path/name (default: scene root).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | Yes | node class, e.g. Sprite2D | |
| parent | No | parent node path/name; default scene root |