Floodlight kept targeted when car driven by

Floodlights keep targeting whenever a car is driving by. Is the is function that Floodlights only be targeted when human is detected, rather than motion.