Ase Set Layer Opacity
ase_set_layer_opacitySet the opacity of a target layer in an Aseprite sprite to a value from 0 (transparent) to 255 (opaque). Provide the sprite path, layer name, and desired opacity to adjust the layer's transparency.
Instructions
Set layer opacity 0-255.
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": {
"sprite_path": "<sprite_path>",
"layer_name": "<layer_name>",
"opacity": "<opacity>"
},
"name": "ase_set_layer_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | Yes | ||
| layer_name | Yes | ||
| sprite_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||