Sensor

Hey everybody, I’ve been looking at the physics example, but I still don’t really understand how tha sensor works. Doesn’t anyone know how I could make a sensor that’s activated through touch (think fruit ninja slicing motion, that’s basically what I want to do)