Researchers are studying how proteins facilitate the plasticity of dendritic spines, the biological basis of learning and memory. They have developed a light-controllable tool to study the kinetics of CaMKII, which is known to play an essential role in memory formation. They applied this tool in several forms of synaptic plasticity and one form of learning and demonstrated its usefulness for dissecting the temporal window of CaMKII activation.