# Sprite not overwriting old animation

**URL:** <https://forum.makecode.com/t/sprite-not-overwriting-old-animation/18148>\
**Category:** Help\
**Created:** [February 24, 2023, 6:01pm UTC](https://forum.makecode.com/t/sprite-not-overwriting-old-animation/18148 "2023-02-24T18:01:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deszomage](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/deszomage/32/28761_2.png) [@Deszomage](https://forum.makecode.com/u/Deszomage)\
**Post date:** [February 24, 2023, 6:01pm UTC](https://forum.makecode.com/t/sprite-not-overwriting-old-animation/18148/1 "2023-02-24T18:01:14Z")

</div>

In the game i’m making the character can change classes but the old character animation are not getting overwritten

---

<div class="post-metadata">

**Author:** ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)\
**Post date:** [February 28, 2023, 6:03pm UTC](https://forum.makecode.com/t/sprite-not-overwriting-old-animation/18148/2 "2023-02-28T18:03:33Z")

</div>

Can you share a link to the code. It makes it a lot easier to find the bug. Here’s how you do it

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

You will then get this menu

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/e/e38cf0dc75d798d62c3ee4557757029bf9aa1fef.jpeg)  
Here you just press share project  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/5e6880dcf8d964708966403e496efdcaea9b5216.jpeg)  
Then just copy the link and post it here

---

<div class="post-metadata">

**Author:** ![Deszomage](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/deszomage/32/28761_2.png) [@Deszomage](https://forum.makecode.com/u/Deszomage)\
**Post date:** [March 8, 2023, 5:28pm UTC](https://forum.makecode.com/t/sprite-not-overwriting-old-animation/18148/3 "2023-03-08T17:28:03Z")

</div>

i managed to fix it turns out that i forgot to change what sprite it went to
