Function AnimationPlayer.seek

Seeks the animation to the seconds point in time (in seconds). If update is true, the animation updates too, otherwise it updates at process time. Events between the current frame and seconds are skipped.

void seek (
  const(double) seconds,
  const(bool) update = false
) nothrow @nogc;