# Playing multiple animations sequentially

**URL:** <https://forum.babylonjs.com/t/playing-multiple-animations-sequentially/22981>\
**Category:** Questions\
**Tags:** animation\
**Created:** [August 11, 2021, 8:19am UTC](https://forum.babylonjs.com/t/playing-multiple-animations-sequentially/22981 "2021-08-11T08:19:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![masonzhang21](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@masonzhang21](https://forum.babylonjs.com/u/masonzhang21)\
**Post date:** [August 11, 2021, 8:19am UTC](https://forum.babylonjs.com/t/playing-multiple-animations-sequentially/22981/1 "2021-08-11T08:19:47Z")

</div>

How would I queue up multiple AnimationGroups to play one after another? My intended behavior is that when AnimationGroup A stops, AnimationGroupB starts, etc. My animations are coming from a glb file.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![PolygonalSun](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/polygonalsun/32/2704_2.png) [@PolygonalSun](https://forum.babylonjs.com/u/PolygonalSun)\
**Post date:** [August 11, 2021, 5:15pm UTC](https://forum.babylonjs.com/t/playing-multiple-animations-sequentially/22981/2 "2021-08-11T17:15:52Z")

</div>

Hey @masonzhang,

First of all, welcome to the community! Second, you might be able to accomplish this by adding an observer (callback) to each AnimationGroup’s `onAnimationGroupEndObservable`

```auto
// Example
animationGroupA.onAnimationGroupEndObservable.add(() => {
    animationGroupB.play();
});

```
