Hi guys! I am working on a project and I can't figure out a thing. I have a variable and I want to store in it a number depending on the phone's rotation. If the player tilts the phone to left, that number should decrement slowly til it hits a minimum. If the player tilts the phone to the right, the number should increment til it hits a maximum. Something like a spirit level but it doesn't need to be accurate at all since I am using it for a game. Help?