How to go about giving a sprite an attack option

Hi there. I’m wondering how I could go about rotating my sprite in a smooth, uninterrupted movement as if he is swinging his weapon on click. I’m already using the player’s rotation to point towards the mouse. Thank you. I was thinking an animation would make sense, but how would an animation work with a top down view?