# Use tilt for 2d side scroller movement

**URL:** <https://forums.unrealengine.com/t/use-tilt-for-2d-side-scroller-movement/309704>\
**Category:** Mobile\
**Tags:** tilt, side-scroller, unreal-engine, Android, question\
**Created:** [March 7, 2015, 12:24am UTC](https://forums.unrealengine.com/t/use-tilt-for-2d-side-scroller-movement/309704 "2015-03-07T00:24:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![posteros\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@posteros\_1](https://forums.unrealengine.com/u/posteros_1)\
**Post date:** [March 7, 2015, 12:24am UTC](https://forums.unrealengine.com/t/use-tilt-for-2d-side-scroller-movement/309704/1 "2015-03-07T00:24:48Z")

</div>

Hi I want to use the tilt of Android phone to make the paper pawn go left or right. I haven’t find anything that uses tilt like that. Any help would be appreciated

---

<div class="post-metadata">

**Author:** ![wittlief\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wittlief\_1](https://forums.unrealengine.com/u/wittlief_1)\
**Post date:** [March 7, 2015, 12:35am UTC](https://forums.unrealengine.com/t/use-tilt-for-2d-side-scroller-movement/309704/2 "2015-03-07T00:35:40Z")

</div>

Hello posteros,

You can locate those events using Blueprints. You can get the Tilt, Gravity, Rotation Rate and Acceleration events by searching for them in the right-click menu. Here is the [list of key/ gamepad input names](https://wiki.unrealengine.com/List_of_Key/Gamepad_Input_Names).

---

<div class="post-metadata">

**Author:** ![posteros\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@posteros\_1](https://forums.unrealengine.com/u/posteros_1)\
**Post date:** [March 7, 2015, 12:39am UTC](https://forums.unrealengine.com/t/use-tilt-for-2d-side-scroller-movement/309704/3 "2015-03-07T00:39:08Z")

</div>

Hi thanks for the answer but then how do I use them with player movement because I can only get vector and not float (sorry if it’s a stupid question)

---

<div class="post-metadata">

**Author:** ![wittlief\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wittlief\_1](https://forums.unrealengine.com/u/wittlief_1)\
**Post date:** [March 9, 2015, 11:16pm UTC](https://forums.unrealengine.com/t/use-tilt-for-2d-side-scroller-movement/309704/4 "2015-03-09T23:16:57Z")

</div>

You can get the Tilt, Gravity, Rotation Rate and Acceleration events by simply searching for them in the right-click menu. [Here is another thread](https://answers.unrealengine.com/questions/35512/how-to-use-tilt.html) where users have posted their blueprints setup for using these nodes. Hope that helps!
