Researchers have developed a method to tailor the properties of stress-indicating molecules that can be integrated into polymers and signal damages or excessive mechanical loads with an optical signal.