design_create_motion_path
Create a motion path guide that animates a target layer along defined waypoints, with options for easing, path visibility, color, and rotation alignment.
Instructions
Create a motion path guide layer that animates a target layer along a series of points.
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": {
"points": "<points>"
},
"name": "design_create_motion_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| easing | No | Path easing (default: "linear"). | |
| points | Yes | Path waypoints [{x, y}]. At least 2 required. | |
| showPath | No | Show path guide line (default: true). | |
| layerName | No | ||
| pathColor | No | Guide color hex (default: "#0088ff"). | |
| alignRotation | No | Auto-rotate layer to follow path direction (default: true). | |
| targetLayerId | No | ID of the layer to animate along the path. |