OK, so there ARE lots of other galaxies, beyond the Milky Way: Are they moving?
Spectroscopy, which can identify objects via unique combinations of so-called “spectral lines,” can also be used to measure velocity, thanks to the Doppler effect. Leavitt used the “identification” properties of spectroscopy to find her law, but to find...