A sensor assembly includes a fixed vehicle structure and a vehicle panel that is movable relative to the fixed vehicle structure between an open position and a closed position. The sensor assembly additionally includes a bracket mounted to the movable vehicle panel, a sensor mounted to the bracket…