I have a KinematicBody2D node and a Position2D node in my main Game scene. I would like to, from gdscript, teleport the KinematicBody2D node to the position I set through the Position2D node.
I have tried:
position = spawn.position
global_position = spawn.position
I'm very new to godot so I don't fully understand the whole node system yet, if there's a better way to teleport the Kinematic to a pre-defined position placed in the editor please let me know.