add_smear
Draws a smear frame that stretches a moving layer's shape between two poses, so fast actions such as sword swings or punches read clearly by painting the motion into a target frame.
Instructions
Draw a smear frame: the shape stretched along its motion between two poses.
Fast actions (a sword swing, a dash, a punch) read better with one smear frame than with in-betweens. This compares the layer at from_frame and to_frame, and paints the in-between positions of the moving pixels into target_frame.
styles:
streak - copies of the shape along the path, oldest at the back
(motion trail; fade=True makes the tail lighter/cooler)
solid - one continuous filled shape spanning the path (classic
cartoon smear; uses color or the shape's main colour)
Args: filename: Aseprite file layer_name: Layer that moves (draw the weapon/limb on its own layer) from_frame, to_frame: The poses before and after the smear target_frame: Frame to draw into (0 = to_frame, i.e. the strike frame) style: streak or solid steps: In-between samples, 2-16 fade: Fade the trail toward the background colour color: Fill colour for solid style
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>",
"from_frame": "<from_frame>",
"to_frame": "<to_frame>"
},
"name": "add_smear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fade | No | ||
| color | No | ||
| steps | No | ||
| style | No | streak | |
| filename | Yes | ||
| to_frame | Yes | ||
| from_frame | Yes | ||
| layer_name | Yes | ||
| target_frame | No |