# How to change animation when multiple keys are pressed?

**URL:** <https://forums.unrealengine.com/t/how-to-change-animation-when-multiple-keys-are-pressed/65427>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [June 2, 2016, 12:23pm UTC](https://forums.unrealengine.com/t/how-to-change-animation-when-multiple-keys-are-pressed/65427 "2016-06-02T12:23:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_947ccb44](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_947ccb44](https://forums.unrealengine.com/u/anonymous_user_947ccb44)\
**Post date:** [June 2, 2016, 12:23pm UTC](https://forums.unrealengine.com/t/how-to-change-animation-when-multiple-keys-are-pressed/65427/1 "2016-06-02T12:23:24Z")

</div>

I’m new to game development, and have decided on UE4, for blueprints, as coding doesn’t really click with me, and I’m struggling to even understand blueprints right now, but that’s probably, well, because I’m new. Anyway, I’m just messing with the Engine, getting used to it, and right now I’m using Paper2D, and am wondering how I would set a animation to multiple keys, as in if I press the “D” key the character would move right, and I press “E” and “D”, I would move right, but with a different animation, and if I press just “E” I get another animation.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Seirei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Seirei](https://forums.unrealengine.com/u/Seirei)\
**Post date:** [June 2, 2016, 3:32pm UTC](https://forums.unrealengine.com/t/how-to-change-animation-when-multiple-keys-are-pressed/65427/2 "2016-06-02T15:32:31Z")

</div>

So in theory this should work.

 ![blueprintanim.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/2/12c079793b470ae1171e74172ec18d9d89cfee93.png)

I’m sure there’s a more efficient way of doing this, but this should at least get you started. Just hook up the “Play Animations” with your flipbook animations and see if it works.
