# Event hit removing all health

**URL:** <https://forums.unrealengine.com/t/event-hit-removing-all-health/491415>\
**Category:** Blueprint\
**Tags:** damage-player, unreal-engine, question\
**Created:** [November 28, 2021, 4:17pm UTC](https://forums.unrealengine.com/t/event-hit-removing-all-health/491415 "2021-11-28T16:17:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DylanJM](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dylanjm/32/88719_2.png) [@DylanJM](https://forums.unrealengine.com/u/DylanJM)\
**Post date:** [November 28, 2021, 4:17pm UTC](https://forums.unrealengine.com/t/event-hit-removing-all-health/491415/1 "2021-11-28T16:17:25Z")

</div>

I’m using event hit to remove health from the player when they collide with an enemy. This works but removes all the health from the person as it is running the event a lot per second, is there a way to delay the event once it’s been triggered or any other way so that the players health isn’t removed all at once?

---

<div class="post-metadata">

**Author:** ![CodingRook](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CodingRook](https://forums.unrealengine.com/u/CodingRook)\
**Post date:** [November 28, 2021, 5:32pm UTC](https://forums.unrealengine.com/t/event-hit-removing-all-health/491415/2 "2021-11-28T17:32:10Z")

</div>

You need to show us how you’ve done this (in code or blueprint). If you have taken your event dispatch and executed logic in Tick, then maybe that’s why your Health is reduced so much; it’s happening every frame. So no delay necessary, just create the event’s logic outside of Tick. Otherwise, provide more details so we can see what’s going on.

---

<div class="post-metadata">

**Author:** ![DylanJM](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dylanjm/32/88719_2.png) [@DylanJM](https://forums.unrealengine.com/u/DylanJM)\
**Post date:** [November 28, 2021, 5:41pm UTC](https://forums.unrealengine.com/t/event-hit-removing-all-health/491415/3 "2021-11-28T17:41:15Z")

</div>

![353207-bp-hit.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/1/a1167987fa4e3ee2fbd7c3bd01a9ecac36f75a13.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 28, 2021, 5:57pm UTC](https://forums.unrealengine.com/t/event-hit-removing-all-health/491415/4 "2021-11-28T17:57:10Z")

</div>

At the moment, your player is losing health on hitting anything.

That’s what the cast is for, to check if you player did actually hit an enemy.

You can also limit the amount of damage that can happen using do once:

 ![353227-screenshot-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/0/ca0829d0e0ee3cab2ee4bbe24912d92b4f9670b7.png)

---

<div class="post-metadata">

**Author:** ![DylanJM](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dylanjm/32/88719_2.png) [@DylanJM](https://forums.unrealengine.com/u/DylanJM)\
**Post date:** [November 28, 2021, 6:07pm UTC](https://forums.unrealengine.com/t/event-hit-removing-all-health/491415/5 "2021-11-28T18:07:56Z")

</div>

This worked great. Thanks a lot!
