Limiting character position to X- and Y-axis only

Does your character/pawn have a CharacterMovement component? How are you adding movement to the character?