Godot 4 get and set position of a 2d characterbody?

Global position doesn't work here. It's important to me that the player's position is determined in the player code and can also be "set." What is the best way to do this? var a = player.get_global_position player.set_global_position(a) As I said, it doesn't work, probably because it's not in the world.

Learning opportunities/resources for Godot C# beginners?

Hey, I wanted to start programming games. I've done a bit of Java before, but nothing in the games direction. I was recommended to work with Godot and, of course, a familiar language like C#. I know C# might not be an immediate starting point, but it's not impossible. My problem is that content like…