imgui_animate
Animate any widget property over time using tweens, with easing functions and loop control for dynamic UI effects.
Instructions
Animate a widget property over time using a tween/animation. Supports multiple easing functions and looping.
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": {
"window": "<window>",
"widget": "<widget>",
"property": "<property>"
},
"name": "imgui_animate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End value | |
| ease | No | Easing function | linear |
| from | No | Start value | |
| loop | No | Whether to loop the animation (ping-pong) | |
| widget | Yes | Widget ID to animate | |
| window | Yes | Window ID containing the widget | |
| duration | No | Duration in seconds | |
| property | Yes | Widget property to animate |