Animation through Animator in unity

When i try to animate any object it perfectly animate but when i create its prefeb
and put it some where in space it not animate or behave like it does before it animate again the same animation in same x and y.

for example:
before prefeb : position of object x=1, y=1 after animation x=2 , y=2
after prefeb and put it some where in space position lets say x = 55,y=55 after animate x=2 and y=2 but the position supposed to x=56 and y=56

That’s because the animator defines the accurate positions.

What you should do is create an empty object and set the animation on it.
Then, set the object you want to move as its child.