Nature, Published online: 18 December 2024; doi:10.1038/d41586-024-04079-6Aquatic algae called diatoms have been found to use light-sensing proteins as depth indicators. Detecting depth-related changes in the intensity and spectrum of light enables algae to modulate their physiology accordingly.