Light come on when the sensor detect a presence

I would like the light to come on when the sensor detects a presence and not just a person. and that the recording be done only for the detection of a person.