Optogenetic inputs can achieve spatiotemporal control of Erk signaling in vivo Light-induced Erk is more potent than any known gain-of-function mutation Development is sensitive to changes in the spatial range but not the dose of Erk Late embryogenesis is robust even to global changes in the level of Erk activity