How to have an animation play locally?

How do i have an animation play locally and not at the place it was create, for example for my camera, i am moving around the level and when i go to play the aniomation the camera goes to where i recorded the animation and dosent play where i was at

Would parenting the camera to an empty game object be a problem for your game? That’s what I do when I have something that the animation resets its position.