canvas_layer_add
Add a CanvasLayer node to a scene to organize UI elements by rendering depth, controlling which layers appear on top.
Instructions
Add a CanvasLayer node to organize UI elements by depth.
Category: CanvasLayer
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) parent_node_path: Path to the parent node layer_name: Name for the new canvas layer layer_order: Layer rendering order (higher values render on top, default: 0)
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| parent_node_path | Yes | ||
| layer_name | Yes | ||
| layer_order | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |