# Get isfalling or isinair seconds

**URL:** <https://forums.unrealengine.com/t/get-isfalling-or-isinair-seconds/568339>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, question, Blueprint\
**Created:** [May 28, 2022, 2:08am UTC](https://forums.unrealengine.com/t/get-isfalling-or-isinair-seconds/568339 "2022-05-28T02:08:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![quero\_games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@quero\_games](https://forums.unrealengine.com/u/quero_games)\
**Post date:** [May 28, 2022, 2:08am UTC](https://forums.unrealengine.com/t/get-isfalling-or-isinair-seconds/568339/1 "2022-05-28T02:08:57Z")

</div>

Hi, to fix a bug, I would like to know how can I kill/teleport/launch up my character if he gets stuck falling mid-air for x seconds (something like Elden Ring does).  
I know I need the _character movement-\>is falling_ and in the last bit of code, a _teleport_ or _launch character_.  
But what do I link in between? A timer? A get real time? Please help.

---

<div class="post-metadata">

**Author:** ![BDC\_Patrick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bdc_patrick/32/1104221_2.png) [@BDC\_Patrick](https://forums.unrealengine.com/u/BDC_Patrick)\
**Post date:** [May 28, 2022, 8:43am UTC](https://forums.unrealengine.com/t/get-isfalling-or-isinair-seconds/568339/2 "2022-05-28T08:43:16Z")

</div>

You can use the animation Blueprint for that.

When the falling state ist activated, count an integer up, via timer by event.  
And when the counter reaches a special mark, trigger the kill events in your Player Actors.

ClockWorkOcean has an Example for that:  
[count-seconds-passed](https://forums.unrealengine.com/t/count-seconds-passed/475700/2)

---

<div class="post-metadata">

**Author:** ![quero\_games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@quero\_games](https://forums.unrealengine.com/u/quero_games)\
**Post date:** [May 29, 2022, 1:06am UTC](https://forums.unrealengine.com/t/get-isfalling-or-isinair-seconds/568339/3 "2022-05-29T01:06:36Z")

</div>

Thanks for giving an answer, but I’m struggling to do discover what to implement to the example.

---

<div class="post-metadata">

**Author:** ![quero\_games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@quero\_games](https://forums.unrealengine.com/u/quero_games)\
**Post date:** [July 16, 2022, 1:44pm UTC](https://forums.unrealengine.com/t/get-isfalling-or-isinair-seconds/568339/4 "2022-07-16T13:44:12Z")

</div>

In case somebody is looking for this, I was finally able to fix it

 ![fix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/4/7f4c458fefd988db7e66dbc6edb64d41b87fffc8.png)

I don’t know if the launch character is needed or not, but I placed it anyway.
