It likely won’t. Motion detectors use passive infrared sensors to detect changes in their field of view – essentially measuring a heat profile – and these sensors are unable to “see” through multi-pane modern glass. Older plate glass windows allow more infrared energy to pass through them, but overall, motion sensors are unreliable when looking through glass. ​​​​​​​