set_node_properties
Set one or more node properties on a scene in a single Godot process. Auto-converts Vector2, Vector3, and Color values; saves once at the end.
Instructions
Set one or more node properties on a scene in a single Godot process. Always-array: pass a single-element updates array for one-off edits. Vector2 ({x,y}), Vector3 ({x,y,z}), and Color ({r,g,b,a}) auto-convert; primitives pass through. For other complex GDScript types (Resource, NodePath, etc.), use run_script. abortOnError stops on first failure (default false continues). Saves once at the end. Returns: results[] with one entry per update in input order (success or error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Scene file path relative to the project | |
| updates | Yes | Property updates to apply | |
| abortOnError | No | Stop processing on first error (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No |