canvas_layer_configure
Configure a CanvasLayer node's offset, rotation, scale, and viewport following behavior in a Godot scene.
Instructions
Configure properties 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 offset: Offset as JSON array [x, y] rotation: Rotation in radians scale: Scale as JSON array [x, y] follow_viewport: Whether to follow the viewport
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>"
},
"name": "canvas_layer_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| layer_path | Yes | ||
| offset | No | ||
| rotation | No | ||
| scale | No | ||
| follow_viewport | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |