How to get LinearXMotion as we to with GetCurentSwing

same question here!