Researchers developed a method to control the formation of molecular complexes using visible light. The results open new avenues for applications in chemical synthesis and the development of active materials and artificial systems capable of operating in biological environments with mechanisms similar to those of living organisms.