# Endless runner and tilting phone for turning

**URL:** <https://forums.unrealengine.com/t/endless-runner-and-tilting-phone-for-turning/458636>\
**Category:** Mobile\
**Tags:** tilt, Mobile, endless-runner, unreal-engine, Blueprint, question\
**Created:** [November 20, 2019, 10:05am UTC](https://forums.unrealengine.com/t/endless-runner-and-tilting-phone-for-turning/458636 "2019-11-20T10:05:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [November 20, 2019, 10:05am UTC](https://forums.unrealengine.com/t/endless-runner-and-tilting-phone-for-turning/458636/1 "2019-11-20T10:05:27Z")

</div>

Hi All

I have attached a few photos and please correct me if I am incorrect or what I am required to do…

Here are my project settings.

![292696-turn-setting.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/b/7db10b51dc0b60d9b4cec758cc067b6a2df49fbb.jpeg)

Here is where I assume tilting the mobile phone left and right will make my character turn left or right.

 ![292697-rotation.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/6/da654a4f05750cc608b168e1b5ad66984715ae3b.jpeg)

Here are my controls to turn corner.

 ![292698-corners.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/2/252f4003fb7276b6462e34e5c86f14e19c22d531.jpeg)

What would I need to do/change so I can use tilt to turn corners with a small dead centre zone in-case you are not holding your phone dead flat?

Thank you for taking the to read this.

Regards

---

<div class="post-metadata">

**Author:** ![Debaucher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/debaucher/32/482342_2.png) [@Debaucher](https://forums.unrealengine.com/u/Debaucher)\
**Post date:** [November 23, 2019, 10:59am UTC](https://forums.unrealengine.com/t/endless-runner-and-tilting-phone-for-turning/458636/2 "2019-11-23T10:59:38Z")

</div>

Clamp the float values for input given the input action Tilt based on the dead zone you are attempting to create.
