canvas_layer_set_order
Set the rendering order of a CanvasLayer to determine which layers appear on top. Higher values render above lower ones.
Instructions
Set the rendering order of a CanvasLayer.
Category: CanvasLayer
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) layer_path: Path to the canvas layer node layer_order: Layer rendering order (higher values render on top)
Returns: Success message or error description
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_path": "<project_path>",
"scene_path": "<scene_path>",
"layer_path": "<layer_path>",
"layer_order": "<layer_order>"
},
"name": "canvas_layer_set_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| layer_path | Yes | ||
| layer_order | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |