::This article was translated using Google. Please forgive me if the wording is wrong.
Hi, I recently came back to make this game. I encountered a little problem in making new monsters. I found that the monsters made in the video all cause damage through collision with the player. So I made a farther attack animation for my monster, which is probably a frog sticking out its tongue to attack, but I encountered a problem. My monster will trigger the animation when it enters the attack range, but when the animation is turned halfway, if When the player leaves the attack range, the monster will return to the Idle state. Is there any way to force it to play the full animation before returning to the Idle state or other states?
If you need a video or code for my current monster please let me know