textile Tilt-Sensor

a sensor made of metal thread and a metal bead.

when the pearl touches the underlying fabric, the direction is tracked - used as game controller