erase_pixel
Remove pixels by setting them to transparent in pixel art projects. Use this tool to erase specific areas on animation frames or layers for precise editing.
Instructions
Erase pixels (set to transparent)
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": {
"projectId": "<projectId>",
"x": "<x>",
"y": "<y>"
},
"name": "erase_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project identifier | |
| layerIndex | No | Layer index (default: 0) | |
| frameIndex | No | Frame index (default: 0) | |
| x | Yes | X coordinate | |
| y | Yes | Y coordinate | |
| penSize | No | Eraser size (default: 1) |