Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ACharacter
Description
Customizable event to check if the character can jump in the current state. Default implementation returns true if the character is on the ground and not crouching, has a valid CharacterMovementComponent and CanEverJump() returns true. Default implementation also allows for 'hold to jump higher' functionality: As well as returning true when on the ground, it also returns true when GetMaxJumpTime is more than zero and IsJumping returns true.
@Return Whether the character can jump in the current state.
| Name | CanJumpInternal |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h |
| Include Path | #include "GameFramework/Character.h" |
UFUNCTION (BlueprintNativeEvent, Category=Character, Meta=(DisplayName="CanJump"))
bool CanJumpInternal() const