The globular cluster (GC) system of the Milky Way (MW) provides important information on the MW’s present structure and past evolution. Full 3d motions, accessed through proper motions (PMs), are required to calculate accurate orbits of GCs in the MW halo. We present our HST program to create a PM database for 20 halo GCs. We demonstrate how the observed PMs of individual GCs can be used to study their origins, and we also describe how the PM measurements of our entire targets can be used to constrain the anisotropy profile. Finally, we describe how our PM results can be used for Gaia as an external check, and discuss prospects of PM measurements with HST and Gaia in the coming years.