Our connectome analysis predicts functional connectivity, which we verify by patching/optogenetic activation experiments in behaving flies. Importantly, though, actual connectivity is heavily state-dependent, so that sensory activity gets routed into landing pathways only during flight.