how to get the location of a object that is moving

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