A height sensor (100) for an agricultural harvesting head comprises a sensor element (104) and a sensor arm (110), the sensor arm comprising a plurality of shaft elements (118, 120, 122), and each of the plurality of shaft elements (118, 120, 122) is pivotally coupled to an adjacent one of the shaft elements (118, 120, 122), and wherein the plurality of shaft elements (118, 120, 122) are held in a predefined operating position by a cable (312), and further wherein the cable (312) extends through the plurality of shaft elements (118).