postion of object in movement

I have a image in movement and i want to get his changing position x and y when it’s moving.
How can i do that?