When such a strain gauge is stretched its resistance increases, when compressed its resistance decreases. A displacement sensor might be constructed by attaching strain gauges to a cantilever (Figure 1.14(b)), the free end of the cantilever being moved as a result of the linear displacement being monitored.