- Home /
gui and tilt function
How can I move gui texture in accordance to tilting the android phone.
Comment
Answer by stevethorne · Mar 13, 2014 at 12:57 PM
You'll want to use the Input.acceleration property to find out how the phone is being tilted. Then change the position of the GUI elements based on the acceleration of the phone.
Your answer
![](https://koobas.hobune.stream/wayback/20220613140133im_/https://answers.unity.com/themes/thub/images/avi.jpg)