flash and torch sensor