Change Motion Timer

Hey just set up a motion in my walk in closet to turn the lights on and off based on motion. It looks like it currently is default to turn off if it doesn’t detect motion for 1 min. Does anyone know if there is a way to adjust this? I was looking to change this to 5 seconds. Thanks all.