Head or phone tilt to move object

Options

I need to tilt the phone so that the plane moves to the left/right on the x coordinate
How can I do this?

Answers