Animation-idle, die then back to idle

hi guys, am creating a simple game where a player has two animation-idle and die. when a player get hit the die animation is called just for few seconds then it goes back to idle animation and the games continues. Am stuck guys. i need your assistant

Hi! Look for any action that start the idle animation again once dead animation is finished.

Try something like:

Condition: at the beginning of the scene
Action: pause the timer “die”

when Player is in collision with Enemy (or whatever they get hit with)
set animation of Player to “die”
unpause the timer “die”

the timer “die” is greater than 2 seconds (whatever length of time you want)
pause the timer “die”
reset the timer “die”
set animation of Player to idle