copy_region
Copy a rectangular region to a target layer and frame in Aseprite, specifying source and destination coordinates.
Instructions
Copy a rectangular region to a layer and frame destination.
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": {
"filename": "<filename>",
"layer_name": "<layer_name>",
"frame_index": "<frame_index>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"dest_x": "<dest_x>",
"dest_y": "<dest_y>"
},
"name": "copy_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| dest_x | Yes | ||
| dest_y | Yes | ||
| height | Yes | ||
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes | ||
| target_layer_name | No | ||
| target_frame_index | No |