Theoretical demonstration of how the dispersion of magnetic excitations in cuprate compounds can be determined using resonant inelastic X-ray scattering.