# How to check if player is jumping?

**URL:** <https://forums.unrealengine.com/t/how-to-check-if-player-is-jumping/341986>\
**Category:** Character & Animation\
**Tags:** jump, unreal-engine, CPP, question\
**Created:** [December 20, 2015, 3:39pm UTC](https://forums.unrealengine.com/t/how-to-check-if-player-is-jumping/341986 "2015-12-20T15:39:20Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![GrantWilk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grantwilk/32/559424_2.png) [@GrantWilk](https://forums.unrealengine.com/u/GrantWilk)\
**Post date:** [November 3, 2025, 2:52am UTC](https://forums.unrealengine.com/t/how-to-check-if-player-is-jumping/341986/6 "2025-11-03T02:52:30Z")

</div>

I found that the `ACharacter`has a field `bWasJumping` that gets set for a frame AFTER the jump starts, and can successfully be used to trigger jumping animations or otherwise distinguish jumps from other falling sub-states.

```auto
// Assuming `ACharacter* Character` is defined somewhere...

bool UMyClass::IsJumping() const
{
    if (Character != nullptr) {
	    return Character->bWasJumping;
    }
    return false;
}

```

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-check-if-player-is-jumping/341986)._
