Transcription factor Lmo4 defines the shape of functional areas in developing cortices and regulates sensorimotor control.