to move in a topdown situation, all tirections the same, you cn set a direction var to Input.get_vector("ui_left", "ui_right", "ui_up", "ui_down"). you may have other key-binds to put into the brackets. than multiply this vector with your speed for your velocity.