There's not much to comment on here, but if I were to leave you with some advice, it would be this: Right now, I assume you're using some sort of series of if/elif statements to get player input. Try using the get_vector() function or other similar offerings from Input. This will get you much smoother movement (on a keyboard, 8-way instead of 4-way), and can even be relatively easily tweaked to allow controller gameplay.
Documentation: https://docs.godotengine.org/en/3.5/classes/class_input.html#class-input-method-...