Mechanosensitive polymers change their properties, such as color or fluorescence, when subjected to mechanical stress.