Step under the shower to activate the sensor. The electromagnet opens a spring-loaded valve so water can flow. Step away to switch it off.