At first I wasn’t exactly sure how this light worked. So when my husband got home from work he put it up on our front porch. And I was able to see that if someone walks outside or even walking up to our porch it lights up by motion detection. It doesn’t require long cords to worry with because it’s solar powered.