Tilt switches are commonly used to detect motion or orientation. They are used to detect slope or inclination relative to gravity and are set