How could I do this

a while ao I made a mod for ark survivle evolved that added pufferfish. however I don’t have the knowlage to make it puff up if you get to clsoe to it. I was wondering if any one could tell me how I could add the alimation to the character. I mainly don’t know what bps I need to use in the editor.