# (Newbie question) How to set animation against different axis input

**URL:** <https://forums.unrealengine.com/t/newbie-question-how-to-set-animation-against-different-axis-input/37667>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 5, 2015, 6:30pm UTC](https://forums.unrealengine.com/t/newbie-question-how-to-set-animation-against-different-axis-input/37667 "2015-08-05T18:30:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![razee01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@razee01](https://forums.unrealengine.com/u/razee01)\
**Post date:** [August 5, 2015, 6:30pm UTC](https://forums.unrealengine.com/t/newbie-question-how-to-set-animation-against-different-axis-input/37667/1 "2015-08-05T18:30:44Z")

</div>

Hi, it may be very simple but I just can’t figure it out.  
I just want to set four different set of animation in statemachine for  
-forward movement

- backward movement
- right movement and
- left movement

I want it with out using any blendspace, and also I don’t worried about speed variable. I just want to know how can I use input axis (or world direction X and Y) for different set of animation. Please some body explain.

---

<div class="post-metadata">

**Author:** ![razee01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@razee01](https://forums.unrealengine.com/u/razee01)\
**Post date:** [August 5, 2015, 7:40pm UTC](https://forums.unrealengine.com/t/newbie-question-how-to-set-animation-against-different-axis-input/37667/2 "2015-08-05T19:40:20Z")

</div>

Some body please help. At least say where can I look.

---

<div class="post-metadata">

**Author:** ![razee01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@razee01](https://forums.unrealengine.com/u/razee01)\
**Post date:** [August 6, 2015, 2:20am UTC](https://forums.unrealengine.com/t/newbie-question-how-to-set-animation-against-different-axis-input/37667/3 "2015-08-06T02:20:01Z")

</div>

At least some one please response. Is my problem meaningful or it means nothing.

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [August 6, 2015, 4:38am UTC](https://forums.unrealengine.com/t/newbie-question-how-to-set-animation-against-different-axis-input/37667/4 "2015-08-06T04:38:47Z")

</div>

> [@razee01;349242](#):
>
> Hi, it may be very simple but I just can’t figure it out.  
> I just want to set four different set of animation in statemachine for  
> -forward movement
> 
> - backward movement
> - right movement and
> - left movement
> 
> I want it with out using any blendspace, and also I don’t worried about speed variable. I just want to know how can I use input axis (or world direction X and Y) for different set of animation. Please some body explain.

I know nothing about animations, but don’t they usually use a velocity? Using the velocity and player rotation you should be able to achieve this. Also do not bump your post until 4 days has past, you bumped your post twice in 8 hours.

---

<div class="post-metadata">

**Author:** ![razee01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@razee01](https://forums.unrealengine.com/u/razee01)\
**Post date:** [August 6, 2015, 5:21am UTC](https://forums.unrealengine.com/t/newbie-question-how-to-set-animation-against-different-axis-input/37667/5 "2015-08-06T05:21:44Z")

</div>

Sorry, I didn’t know the rule. I shoudn’t have bumped it so frequently. My mistake.  
And as for velocity I already have speed variable. I just want to assign four different button for four different animation against axis input X and axis input Y in state machine.
