Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

set a cooldown on the animation trigger, its pretty simple if you use unity

heres a description 

1) Add an Animation Event to your last key frame.
See https://docs.unity3d.com/Manual/animeditor-AnimationEvents.html

2) In Update you can continuously check if the animation has completed.
See AnimatorStateInfo

3) Start a coroutine that yields and waits for the animation to complete.

4) Use StateMachineBehaviour


hope this helps, unless im stupid and ur not using unity, if not lemme know and ill figure out how to fix it lol