I need my node2d to move to a specific point
Hi, I am making a game for the first time and I cant figure out how to make a node 2d move to a specific point. I have a comet spawner and it spawns comets at a random place. The comets don't move right now but I want them to move to a black hole with a fixed place. Does anyone have any tips on how...

Hi, I am not sure if i know for sure what you mean, but i ques that the ball just stays within the borders of the cube? I am very beginner, so I dont know if this helps but I had a similar thing in 2d and every time it went over the border I just changed the position. I imagine it would work similar in 3d.
https://preview.redd.it/3b707pmy1w2h1.png?width=684&format=png&auto=webp&s=00b05f259a4c2cc848bfe161a901027c66b4996f
I did this but it still has the same problem. Do you know if I should use a different timer?
https://preview.redd.it/qljkto1boo1h1.png?width=634&format=png&auto=webp&s=46c0182ac645c2531ea34157038c5ccf5720bc47