That gave an error, but thanks. The answer is GetCharacterMovement()->GravityScale = 0;
GetCharacterMovement()->GravityScale = 0;