tilt logic