Motion detection not working at night

Motion detection isnt working at night. It used to work but unless you are very close to the camera it won’t detect anything. Motion sensitivity is all the way up. How would I fix this?