Researchers have designed a sensor that can measure strain in structural materials and is capable of healing itself — an important advance for collecting data to help us make informed decisions about structural safety in the wake of earthquakes, explosions or other unexpected events.