# Character Attack Animation Help

**URL:** <https://forum.makecode.com/t/character-attack-animation-help/19240>\
**Category:** Help\
**Created:** [April 16, 2023, 10:32pm UTC](https://forum.makecode.com/t/character-attack-animation-help/19240 "2023-04-16T22:32:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bong](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bong](https://forum.makecode.com/u/bong)\
**Post date:** [April 16, 2023, 10:32pm UTC](https://forum.makecode.com/t/character-attack-animation-help/19240/1 "2023-04-16T22:32:36Z")

</div>

Hey guys!

I’m having trouble with the character animations in my game. I’m trying to get the characters attack animation to play out when the player presses B, but the idle animations overlap and play alongside it.

Here’s the demo:

> **[sakura SMASH](https://arcade.makecode.com/S67940-78305-04512-17458)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Any help would be greatly appreciated 🙂
