How does the developing brain establish the correct connections? Matsui et al. (p. 1114, published online 31 October) discovered an activity-dependent transcription mechanism during mouse and ferret visual cortex development that controls the direction of dendrite orientation, allowing dendrites to steer toward active axons and away from inactive axons. This mechanism enables the construction of polarized neuronal shapes for integration into neural circuits with the required finescale architecture to process subtle activity patterns, a property underlying complex behavior.