layout_set
Change a layout's size, event sheet, margins, or unbounded scrolling settings to adjust how a Construct 2 project scene behaves.
Instructions
Change a layout's size, event sheet, margins or unbounded scrolling.
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>"
},
"name": "layout_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| layout | Yes | ||
| margins | No | ||
| project | Yes | ||
| editor_sync | No | ||
| event_sheet | No | ||
| unbounded_scrolling | No |