secondary_motion
Creates follow-through and overlapping action by shifting hair, capes, tails, ears, or antennae based on a driver layer’s frame-to-frame motion with adjustable lag and strength.
Instructions
Make hair, capes, tails, ears or antennae follow through.
Reads how the driver layer (the body) moves from frame to frame and
shifts the follower layer by the driver's movement from lag frames
earlier, scaled by amount. The follower drags behind on the way and
overshoots when the body stops - follow-through and overlapping action,
the cheapest way to make an animation feel alive.
Args: filename: Aseprite file layer_name: Follower layer (hair, cape...) driver_layer: Layer whose motion drives it (body) frames: Frames to process ("" = all) lag: Delay in frames, 1-3 amount: Strength of the drag, 0.2-2 max_offset: Limit in pixels
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>",
"driver_layer": "<driver_layer>"
},
"name": "secondary_motion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lag | No | ||
| amount | No | ||
| frames | No | ||
| filename | Yes | ||
| layer_name | Yes | ||
| max_offset | No | ||
| driver_layer | Yes |