← Back to Animation domain

Animation.seekAnimations

Seek a set of animations to a particular time within each animation.

Domain: Animation experimental

Parameters

NameTypeDescription
animationsarrayList of animation ids to seek.
currentTimenumberSet the current time of each animation.

Example Request

{
  "id": 1,
  "method": "Animation.seekAnimations",
  "params": {
    "animations": [],
    "currentTime": 1.0
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Animation.seekAnimations', {"animations": [], "currentTime": 1.0});
console.log(result);