How to Move a Character in Godot 4 with GDScript
Originally published on CodingCush . You move a character in Godot 4 by giving it a CharacterBody2D node and a short GDScript that reads the keys every physics frame and calls move and slide(). That is the whole trick, and the script is only eight lines long.