# Animation won't play

**URL:** https://forum.8thwall.com/t/animation-wont-play/2605
**Category:** Technical Support
**Created:** [August 31, 2024, 3:26am UTC](https://forum.8thwall.com/t/animation-wont-play/2605 "2024-08-31T03:26:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![blabber\_bytes](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/blabber_bytes/32/971_2.png) [@blabber\_bytes](https://forum.8thwall.com/u/blabber_bytes)
#### Post date: [August 31, 2024, 3:26am UTC](https://forum.8thwall.com/t/animation-wont-play/2605/1 "2024-08-31T03:26:30Z")

</div>

Hello, I need some help. I am playing around with the fireworks example. Sorry I’m beginner. What I am trying to do is replace the rocket.glb with my own animated glb but the animation doesn’t play when I tap the screen. Help please, Thanks

> **[Fireworks | 8th Wall | 8th Wall](https://www.8thwall.com/8thwall/fireworks-aframe)**
>
> Celebrate any occasion with AR fireworks!

---

<div class="post-metadata">

### Author: ![blabber\_bytes](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/blabber_bytes/32/971_2.png) [@blabber\_bytes](https://forum.8thwall.com/u/blabber_bytes)
#### Post date: [September 2, 2024, 2:53am UTC](https://forum.8thwall.com/t/animation-wont-play/2605/2 "2024-09-02T02:53:13Z")

</div>

I added this in the head

```auto
<script crossorigin=“anonymous” src="//cdn.8thwall.com/web/aframe/aframe-extras-6.1.1.min.js"></script> 

```

And this in the body

```auto
  <a-entity
    id="rocket"
    gltf-model="#rocketModel"
    scale=".1 .1 .1"
    animation-mixer="clip: *; loop: repeat"
    shadow="receive: false">
  </a-entity>

```

Doesnt seem to work and I cant rescale… Any pointers??

---

<div class="post-metadata">

### Author: ![blabber\_bytes](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/blabber_bytes/32/971_2.png) [@blabber\_bytes](https://forum.8thwall.com/u/blabber_bytes)
#### Post date: [September 2, 2024, 4:58am UTC](https://forum.8thwall.com/t/animation-wont-play/2605/3 "2024-09-02T04:58:57Z")

</div>

Also had to add this:

```auto
        newPole.setAttribute('animation-mixer', 'clip: animation_0')
        newRocket.setAttribute('animation-mixer', 'clip: animation_0')

```

in the js file. This video helped:

[![](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/1X/bb995c1962614846ffb9af600ff5cb27f07d7027.jpeg "Get Started with Cloud Editor: Building Your First WebAR Experience") ](https://www.youtube.com/watch?v=6nmsHC_FA0M&t=329s)

---

<div class="post-metadata">

### Author: ![Evan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/evan/32/431_2.png) [@Evan](https://forum.8thwall.com/u/Evan)
#### Post date: [September 4, 2024, 8:48pm UTC](https://forum.8thwall.com/t/animation-wont-play/2605/4 "2024-09-04T20:48:36Z")

</div>

thanks for sharing your updates and solution!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/2X/9/9212a857458f1b03a6accb129e0f8cbea408e3e5.png) [@system](https://forum.8thwall.com/u/system)
#### Post date: [September 8, 2024, 8:49pm UTC](https://forum.8thwall.com/t/animation-wont-play/2605/5 "2024-09-08T20:49:04Z")

</div>

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
