Animation.setTimingSets the timing of an animation node.
| Name | Type | Description |
|---|---|---|
animationId | string | Animation id. |
duration | number | Duration of the animation. |
delay | number | Delay of the animation. |
{
"id": 1,
"method": "Animation.setTiming",
"params": {
"animationId": "animationId-value",
"duration": 1.0,
"delay": 1.0
}
}
{
"id": 1,
"result": {}
}
const result = await send('Animation.setTiming', {"animationId": "animationId-value", "duration": 1.0, "delay": 1.0});
console.log(result);