instance_update
Update a Construct 2 object by UID to move, resize, rotate, re-layer, or change properties, variables, and behavior settings in a project.
Instructions
Move, resize, rotate, re-layer or change properties/variables/behavior properties of an instance by uid.
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>",
"uid": "<uid>"
},
"name": "instance_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| uid | Yes | ||
| angle | No | ||
| layer | No | ||
| width | No | ||
| height | No | ||
| opacity | No | ||
| project | Yes | ||
| behaviors | No | ||
| variables | No | ||
| properties | No | ||
| editor_sync | No |