# Mobile sensor testing

**URL:** <https://forums.unrealengine.com/t/mobile-sensor-testing/299722>\
**Category:** Mobile\
**Tags:** tilt, Mobile, unreal-engine, acceleration, question\
**Created:** [November 24, 2014, 6:56am UTC](https://forums.unrealengine.com/t/mobile-sensor-testing/299722 "2014-11-24T06:56:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smomo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Smomo](https://forums.unrealengine.com/u/Smomo)\
**Post date:** [November 24, 2014, 6:56am UTC](https://forums.unrealengine.com/t/mobile-sensor-testing/299722/1 "2014-11-24T06:56:10Z")

</div>

Hello guys, I am developing a mobile game.

I use the three mobile input : Acceleration, Gravity, Tilt

How can I testing their value on Mobile preview? or any other method?

Or, only way to test that is package to .apk and install in mobile?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [November 24, 2014, 4:19pm UTC](https://forums.unrealengine.com/t/mobile-sensor-testing/299722/2 "2014-11-24T16:19:06Z")

</div>

Hi Smallee,

To test the specific values received, you should be able to create a print string off of the input event nodes within your blueprints. You should be able to test this in mobile preview, though the best test will be on the specific mobile devices you are working with. In this case, you should be able to print the values to screen and show what specific changes are occurring when you perform different actions.

---

<div class="post-metadata">

**Author:** ![Smomo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Smomo](https://forums.unrealengine.com/u/Smomo)\
**Post date:** [November 27, 2014, 10:39am UTC](https://forums.unrealengine.com/t/mobile-sensor-testing/299722/3 "2014-11-27T10:39:36Z")

</div>

But those four values are “Sensor” values.  
In mobile preview, they always (0,0,0)

I am not sure if mobile preview is a “Simulator” or just a landscape window with two controller.

If it is, could it Simulate the angle of Tilt or Acceleration of device on the computer?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [November 28, 2014, 6:41pm UTC](https://forums.unrealengine.com/t/mobile-sensor-testing/299722/4 "2014-11-28T18:41:13Z")

</div>

I believe for testing these specific values you will have to package to .apk and test it on the mobile device.
