# Why cant I animate this coin?

**URL:** <https://forum.makecode.com/t/why-cant-i-animate-this-coin/9363>\
**Category:** Arcade\
**Created:** [July 23, 2021, 8:49pm UTC](https://forum.makecode.com/t/why-cant-i-animate-this-coin/9363 "2021-07-23T20:49:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Real](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@Real](https://forum.makecode.com/u/Real)\
**Post date:** [July 23, 2021, 8:49pm UTC](https://forum.makecode.com/t/why-cant-i-animate-this-coin/9363/1 "2021-07-23T20:49:18Z")

</div>

Hello! I’m using the Microsfot Make code platformer using this tutorial: [https://www.youtube.com/watch?v=8DhGcCPfOU4&t=6s](https://www.youtube.com/watch?v=8DhGcCPfOU4&t=6s)

But when I tried animating the coin and put the block in with loop I see this error

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/e/e17c22fd55d00c5c16c0e9026f0632cbfcf24595.jpeg)

I tried using the one from extensions and the one already there. Can someone help?

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [July 23, 2021, 8:51pm UTC](https://forum.makecode.com/t/why-cant-i-animate-this-coin/9363/2 "2021-07-23T20:51:22Z")

</div>

The issue is that the animate block is put before the ‘set coin to [sprite of kind]’ – you can only animate something once it’s been created. If you move the ‘animate coin frames’ to be at the end of the for loop / below the things that are currently below it, it should work 🙂
