The pressure mat can be folded over on itself so that it just covers the upper part of the bed, as shown in the photo below. In the photo, the bottom and top of the mat have been folded and tucked inside each other.
When used in this way, the sensor will trigger when the person takes their weight off the mat, by sitting up.