Rendering a drug effective or ineffective in a flash at the appropriate location – this is the focus of research in photopharmacology.