duplicate_material_expression
Duplicate a material expression node with identical properties at an offset position, returning the new node index. Connections are not copied.
Instructions
Duplicate a node (same type and properties, offset from original).
Returns the new node_index. Connections are NOT copied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset_x | No | ||
| offset_y | No | ||
| node_index | Yes | ||
| material_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |