# Character stuck in attack animation & not going back to normal animation after pressing button

**URL:** <https://forum.makecode.com/t/character-stuck-in-attack-animation-not-going-back-to-normal-animation-after-pressing-button/41495>\
**Category:** Help\
**Created:** [January 13, 2026, 9:56pm UTC](https://forum.makecode.com/t/character-stuck-in-attack-animation-not-going-back-to-normal-animation-after-pressing-button/41495 "2026-01-13T21:56:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Echo](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Echo](https://forum.makecode.com/u/Echo)\
**Post date:** [January 13, 2026, 9:56pm UTC](https://forum.makecode.com/t/character-stuck-in-attack-animation-not-going-back-to-normal-animation-after-pressing-button/41495/1 "2026-01-13T21:56:14Z")

</div>

So I’m in the middle of making my own “demake” of sorts of RE2 for fun, and my sprites are from RE: Gaiden, but I changed up some designs and stuff.

Anyways, I can get Leon to move normally, but I want to make it so when I’m facing left and not moving, and I press B, my shooting pose can occur.

So I press B when Leon is not moving and is facing left, and the animation happens, but when I move around and go back to facing left and not moving (I didn’t press B ever again after that first time) he stays in the shooting pose, and I can’t make him go back to facing left normally.

Here’s the game…help: [https://makecode.com/\_ebq6ME0hUAuU](https://makecode.com/_ebq6ME0hUAuU)

---

<div class="post-metadata">

**Author:** ![BitBot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bitbot/32/33272_2.png) [@BitBot](https://forum.makecode.com/u/BitBot)\
**Post date:** [January 13, 2026, 10:48pm UTC](https://forum.makecode.com/t/character-stuck-in-attack-animation-not-going-back-to-normal-animation-after-pressing-button/41495/2 "2026-01-13T22:48:58Z")

</div>

Here ya go:

> **[Resident Evil 2 Demake](https://arcade.makecode.com/S82406-72428-22353-94397)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [January 14, 2026, 4:58am UTC](https://forum.makecode.com/t/character-stuck-in-attack-animation-not-going-back-to-normal-animation-after-pressing-button/41495/3 "2026-01-14T04:58:31Z")

</div>

Can you at least tell them what you changed instead of just giving them the fixed code?  
It can create a learning opportunity, MakeCode also has a purpose to teach code, you know.

---

<div class="post-metadata">

**Author:** ![BitBot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bitbot/32/33272_2.png) [@BitBot](https://forum.makecode.com/u/BitBot)\
**Post date:** [January 15, 2026, 4:01am UTC](https://forum.makecode.com/t/character-stuck-in-attack-animation-not-going-back-to-normal-animation-after-pressing-button/41495/5 "2026-01-15T04:01:33Z")

</div>

**Yes I can:**

So what I changed was: since this block sets an animation for whenever the character is facing left and not moving, it updates the other animation that you created before to that animation.

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

So I took away that block and added this block, so it doesn’t replace the other animation

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/b/2be43c54d0846c22438ee9d2606aaf29bbf6a34d.png)
