Many designers and developers add animation without realising it pulls attention away from what really matters. If a user notices the animation more than the action, you've added friction, not experience.
They'll say "wow, I love this", and then not take any action.
So keep it subtle, smooth and purposeful. Animation should guide, not distract.