# Animation group goToFrame bug

**URL:** <https://forum.babylonjs.com/t/animation-group-gotoframe-bug/58566>\
**Category:** Bugs\
**Tags:** animation\
**Created:** [May 21, 2025, 7:50am UTC](https://forum.babylonjs.com/t/animation-group-gotoframe-bug/58566 "2025-05-21T07:50:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ludovic\_Gillot](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ludovic_gillot/32/46465_2.png) [@Ludovic\_Gillot](https://forum.babylonjs.com/u/Ludovic_Gillot)\
**Post date:** [May 21, 2025, 7:50am UTC](https://forum.babylonjs.com/t/animation-group-gotoframe-bug/58566/1 "2025-05-21T07:50:18Z")

</div>

Hello,

I have found a strange bug with the new versions of babylon.js (I tried on version 8.8.5)

When an animation is launched, if do a goToFrame to the group, it will not move the current frame of the animation to the selected frame.

there is an example where each 500ms, i’m going to frame 2 on my animation with a total of 30 frames.

> **[Babylon.js Playground](https://playground.babylonjs.com/#7V0Y1I%234509)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

Hope this helps ! 🙂

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [May 21, 2025, 5:45pm UTC](https://forum.babylonjs.com/t/animation-group-gotoframe-bug/58566/2 "2025-05-21T17:45:03Z")

</div>

Having a look right now

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [May 21, 2025, 6:07pm UTC](https://forum.babylonjs.com/t/animation-group-gotoframe-bug/58566/3 "2025-05-21T18:07:58Z")

</div>

It was actually a bug introduced on my previous fix for your lol  
[Fix goToFrame by deltakosh · Pull Request #16653 · BabylonJS/Babylon.js](https://github.com/BabylonJS/Babylon.js/pull/16653)

---

<div class="post-metadata">

**Author:** ![Ludovic\_Gillot](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ludovic_gillot/32/46465_2.png) [@Ludovic\_Gillot](https://forum.babylonjs.com/u/Ludovic_Gillot)\
**Post date:** [May 22, 2025, 6:24am UTC](https://forum.babylonjs.com/t/animation-group-gotoframe-bug/58566/4 "2025-05-22T06:24:19Z")

</div>

Thanks for the bugfix ! 😁
