Enabling Crouch within C++

@Shmoopy1701 You are a star!
I knew that it involved all the commands in that line but I couldn’t figure out a way of putting it together.
Thanks a lot again

P.S. In my case I didn’t need the (#include “PawnMovementComponent.h”) as already had this in my source file:
#include “GameFramework\CharacterMovementComponent.h”

(Epic should really enable crouching by default)

1 Like