how to get the location of a object that is moving

unreal how to get the location of a object that is moving

The same way you would get the location of an object that is stationary → Get Actor Location, assuming your object is, indeed, an actor.

get location in Event Tick , then u can get it at runtime.