A sensor that detects the presence of objects or people within the door threshold, preventing it to close if there is an obstruction.