Everything you need to know about configuring switches.
I forgot to mention to beware of grip tape when making and testing sensors. If I had 1$ for every sensor I built that worked perfect till I put grip tape on it, I'd be rich!
If you want to build a design that works more like an on/off switch here is a secret video I did on it a while back: https://youtu.be/lRXuF9i6rS0