Make sure to paste code with proper formatting instead of screen shots
Use Input.get_vector over constructing a Vector2, this is not only normalized for diagonal movement but allows for slower movement such as tilting a joystick half way.
var input_direction := Input.get_vector("left", "right", "up", "down")