# Plays one animation or the other, not both

**URL:** <https://forums.unrealengine.com/t/plays-one-animation-or-the-other-not-both/476512>\
**Category:** Character & Animation\
**Tags:** casting, cast-to, unreal-engine, question\
**Created:** [December 28, 2020, 10:26pm UTC](https://forums.unrealengine.com/t/plays-one-animation-or-the-other-not-both/476512 "2020-12-28T22:26:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_18375dc6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_18375dc6](https://forums.unrealengine.com/u/anonymous_user_18375dc6)\
**Post date:** [December 28, 2020, 10:26pm UTC](https://forums.unrealengine.com/t/plays-one-animation-or-the-other-not-both/476512/1 "2020-12-28T22:26:28Z")

</div>

I’ve been developing a project that combines the [Unreal Twin Stick Shooter tutorial](https://learn.unrealengine.com/course/2814930?r=False&ts=637447692276812433), and the [Unreal Introduction to Animation Montage](https://www.youtube.com/watch?v=zQrNQtfNOHc&list=PLZlv_N0_O1gZS5HylO_368myr-Kg2ZLwb&index=16).

They allowed me to script in a death animation (image 3) and a “Shoot” animation (image 2), but only one will play at a time if they’re to work. I mean, I can wire it up to run the death animation, and it works as intended, or I can wire up the Shoot animation, and it will work as intended, but I can’t wire them together.

I think it’s because the ‘Death’ routes to **Cast To BaseCharacter** and ‘Shoot’ routes to **Cast to HeroCharacter** , and I take it I can’t cast to both in the same string, but if that’s the case, I’m at a loss how to connect both.

Any suggestions?

 ![325829-unreal-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/e/6ee69cdfbd24c524160de8b547531d007c7b0dc6.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_18375dc6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_18375dc6](https://forums.unrealengine.com/u/anonymous_user_18375dc6)\
**Post date:** [December 30, 2020, 3:27pm UTC](https://forums.unrealengine.com/t/plays-one-animation-or-the-other-not-both/476512/2 "2020-12-30T15:27:08Z")

</div>

My solution was to maintain the “IsDead” route like in the tutorial, and simply adding a ‘Play Montage’ node after the ‘Pull Trigger’ node in “HeroCharacter” Event Graph.
