Fluorescent proteins are often used as bright and stable lightbulbs. By moving the termini close to the chromophore, FPs can be turned into sensors.
One of the most spectacular applications is the sensing of calcium in complete organisms, as shown in this movie, where calcium is detected as a proxy for neuronal activity in zebrafish nature.com/articles/nmeth…