You are calling the move function in _process, but CharacterBody2D uses move_and_slide in _physics_process
move
_process
move_and_slide
_physics_process
func _physics_process(delta: float) -> void: move(delta) handle_animation()
Make sure to format your code pastes between three ticks ```