layer_update
Update a layer's name, visibility, background color, opacity, parallax, or order in a Construct 2 project layout by specifying the project, layout, and layer.
Instructions
Rename, show/hide, recolor, set parallax/opacity or reorder a layer (layer: name or index).
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": "<project>",
"layout": "<layout>",
"layer": "<layer>"
},
"name": "layer_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| index | No | ||
| layer | Yes | ||
| layout | Yes | ||
| opacity | No | ||
| project | Yes | ||
| visible | No | ||
| parallax | No | ||
| editor_sync | No | ||
| transparent | No | ||
| background_color | No |