The authors combine optogenetics, two-photon microscopy and glutamate uncaging to study D2-type dopamine receptor modulation of glutamatergic transmission in mouse striatopallidal neurons. They find that dopamine regulates spine calcium via multiple pathways.