/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h
Returns true if the character is allowed to crouch in the current state.Bydefault it is allowed when walking or falling, ifCanEverCrouch()is true.
virtual bool CanCrouchInCurrentState() const