# Why is my getting hit animation keep looping?

**URL:** <https://forums.unrealengine.com/t/why-is-my-getting-hit-animation-keep-looping/1728366>\
**Category:** Blueprint\
**Tags:** unreal-engine, state-machines, Blueprint, question\
**Created:** [March 3, 2024, 10:59pm UTC](https://forums.unrealengine.com/t/why-is-my-getting-hit-animation-keep-looping/1728366 "2024-03-03T22:59:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DogJsDaddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DogJsDaddy](https://forums.unrealengine.com/u/DogJsDaddy)\
**Post date:** [March 3, 2024, 10:59pm UTC](https://forums.unrealengine.com/t/why-is-my-getting-hit-animation-keep-looping/1728366/1 "2024-03-03T22:59:33Z")

</div>

Hello everyone, I am currently working on a 2d top-down project with ue5 and I ran into a problem. Whenever my character get hits and the getting hit animation will keep looping for some reason, here is the 1 min short video demonstrating the issue(including the animation state machine and some blueprint for the character): [https://www.youtube.com/watch?v=wSNqg3JXfAw](https://www.youtube.com/watch?v=wSNqg3JXfAw) Could anybody take a look and tell me what did I do wrong? Thank you so much!

---

<div class="post-metadata">

**Author:** ![hotuan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hotuan](https://forums.unrealengine.com/u/hotuan)\
**Post date:** [March 4, 2024, 1:10am UTC](https://forums.unrealengine.com/t/why-is-my-getting-hit-animation-keep-looping/1728366/2 "2024-03-04T01:10:30Z")

</div>

I think the issue is with Ishurting?. I don’t see where you switch from Ishurting = true to false. Please set it to false at the end of the Event Any Damage.

---

<div class="post-metadata">

**Author:** ![DogJsDaddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DogJsDaddy](https://forums.unrealengine.com/u/DogJsDaddy)\
**Post date:** [March 4, 2024, 5:25am UTC](https://forums.unrealengine.com/t/why-is-my-getting-hit-animation-keep-looping/1728366/3 "2024-03-04T05:25:39Z")

</div>

Thank you so much I solved it

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 3, 2024, 5:26am UTC](https://forums.unrealengine.com/t/why-is-my-getting-hit-animation-keep-looping/1728366/4 "2024-04-03T05:26:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
