Use tilt for 2d side scroller movement

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

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.

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)

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 where users have posted their blueprints setup for using these nodes. Hope that helps!