Need help with tool animations!!

Ok, so i am making a 2D game

And I’m not sure how to handle the tools’ animations and movement. I don’t know whether to use code or animation.
I need the tools to move along with the player and turn according to the player’s rotation. But, if i use code for the movement and turning of the tool, I can’t use animations anymore. I also don’t think there is a way using animations to move the tool with the player…
Does anyone know how to handle both the movement and animations at once?

You can just make the transform of the tool the child of the desired transform it will move accordingly.