ae_add_button_press
Add a tactile button press micro-interaction to a layer: a quick scale-down dip and release before a major movement starts. Inserts three scale keyframes around the release time.
Instructions
Add a tactile 'button press' micro-interaction: a quick scale-down dip and release just before a major on-screen movement begins. Inserts three Scale keyframes around atTime (assumes the layer rests at 100% scale).
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": {
"layer": "<layer>",
"atTime": "<atTime>"
},
"name": "ae_add_button_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | ||
| layer | Yes | ||
| atTime | Yes | Time (s) at which the press releases / the main move starts. | |
| depth | No | Scale multiplier at the deepest point of the press. | |
| durationSeconds | No | Total length of the press dip. |