I presume you are trying to reset its position because you have a Camera/Camera2D? Don’t do that.
The solution is to put your UI nodes under a CanvasLayer node. This will cause them to ignore the camera transform and remain “on top” of your game world as it moves around.
Thank you very much,
I can see the “Canvas Layer” but it does not display.
Philagia | 2019-08-25 19:01
It might help if you look at this example from the official tutorial: