In at least one embodiment, a seat assembly is provided. The seatback receives an occupant in a vehicle. A headrest is coupled to the seatback. The headrest includes a motor, at least one sensor, and at least one controller. The motor rotates the headrest to orient an occupant's head relative to…