# How can I add left/right movement input to a Pawn?

**URL:** <https://forums.unrealengine.com/t/how-can-i-add-left-right-movement-input-to-a-pawn/341313>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 13, 2015, 11:17am UTC](https://forums.unrealengine.com/t/how-can-i-add-left-right-movement-input-to-a-pawn/341313 "2015-12-13T11:17:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrzejowska](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrzejowska](https://forums.unrealengine.com/u/Andrzejowska)\
**Post date:** [December 13, 2015, 11:17am UTC](https://forums.unrealengine.com/t/how-can-i-add-left-right-movement-input-to-a-pawn/341313/1 "2015-12-13T11:17:58Z")

</div>

Hi,

I am using 4.9 to create a game in which you are steering a little float down some water rapids.

For this I have used a Pawn as the character, and to get it to move forward ‘add force’ is working fine, however I have looked at some tutorials, and other people seem to use ‘Add Torque’ to get some sort of steering left/right controls, this just wont work for me, I need the pawn to move a clear left and right…

Someone please help as this is getting the better of me!

---

<div class="post-metadata">

**Author:** ![getnamo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/getnamo/32/1194624_2.png) [@getnamo](https://forums.unrealengine.com/u/getnamo)\
**Post date:** [December 13, 2015, 11:31am UTC](https://forums.unrealengine.com/t/how-can-i-add-left-right-movement-input-to-a-pawn/341313/2 "2015-12-13T11:31:18Z")

</div>

If you want to continue moving using force, just change the direction of the force to perpendicular to your moving direction.

e.g. you could use the [get right vector](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Utilities/Transformation/GetRightVector/index.html) on either the scene component or the [actor](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Utilities/Transformation/GetActorRightVector/index.html) and then multiply that by a positive 1.0 for Right and -1.0 for left and pass that into add force.

In general however movement is handled using [Input Mapping](https://docs.unrealengine.com/latest/INT/Gameplay/Input/) and the [add movement input node](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Pawn/Input/AddMovementInput/index.html).

---

<div class="post-metadata">

**Author:** ![Andrzejowska](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrzejowska](https://forums.unrealengine.com/u/Andrzejowska)\
**Post date:** [December 13, 2015, 11:42am UTC](https://forums.unrealengine.com/t/how-can-i-add-left-right-movement-input-to-a-pawn/341313/3 "2015-12-13T11:42:13Z")

</div>

You genius, it was right there in front of me, I just couldn’t see it!

This works perfectly. Thank you very much!

For anyone else with the same problem, I have attached my blueprint:

 ![70426-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/3/6b3a6fb096bde3f4e86d09022011d8d3a7048ea7.png)
