The physical distance between synaptic Ca2+ channels and sensors modulates short-term plasticity (STP). Here, the authors show that synaptic release factors Unc13A and Unc13B distinctly couple with Ca2+ channels and contribute to the neural decoding of distinct sensory information in Drosophila.