# Using Event Hit to detect if Pawn is 'grounded'

**URL:** <https://forums.unrealengine.com/t/using-event-hit-to-detect-if-pawn-is-grounded/359711>\
**Category:** Blueprint\
**Tags:** boolean, event-hit, unreal-engine, pawn, Blueprint, question\
**Created:** [June 5, 2016, 1:25pm UTC](https://forums.unrealengine.com/t/using-event-hit-to-detect-if-pawn-is-grounded/359711 "2016-06-05T13:25:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon72723191](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon72723191](https://forums.unrealengine.com/u/anon72723191)\
**Post date:** [June 5, 2016, 1:25pm UTC](https://forums.unrealengine.com/t/using-event-hit-to-detect-if-pawn-is-grounded/359711/1 "2016-06-05T13:25:22Z")

</div>

How do I get this to work?

It only affects the boolean on hit detection, but if my player is in the air. it doesn’t change to false because it’s not recieving a hit event in the first place.

I also tried setting the boolean in Event Tick but I get the same result.

 ![93435-bp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/f/1ff0ebaed5ddc4300036b7fc700243607ab79eb9.png)

---

<div class="post-metadata">

**Author:** ![Derzo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Derzo](https://forums.unrealengine.com/u/Derzo)\
**Post date:** [June 5, 2016, 1:34pm UTC](https://forums.unrealengine.com/t/using-event-hit-to-detect-if-pawn-is-grounded/359711/2 "2016-06-05T13:34:19Z")

</div>

If your pawn is a character, you already have _IsFalling_ variable inside character movement. If not, here’s how I’d do it.

- On hit, if impact normal Z == 1, set grounded to true
- After that, add a delay (0.1s) and set it back to false. This way, delay will be called constantly and if hit stops firing, the delay will finish.

Hopefully this helps, cheers! 🙂

---

<div class="post-metadata">

**Author:** ![PaleoNeo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/paleoneo/32/473639_2.png) [@PaleoNeo](https://forums.unrealengine.com/u/PaleoNeo)\
**Post date:** [September 17, 2020, 1:10am UTC](https://forums.unrealengine.com/t/using-event-hit-to-detect-if-pawn-is-grounded/359711/3 "2020-09-17T01:10:59Z")

</div>

This doesn’t really work for me: if the pawn stands still the grounded flags becomes false even if it is still touching the ground…
