Converting position between canvas layers

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By erebrus

I have a space map, where stars are Node2D objects. I want to write the star name above the star. If I do it in the same canvas as the star, it gets smaller and bigger as I zoom the camera, but I want it to remain the same size, so I want to draw the text in my HUD canvas layer but I can’t see how I can get the position of the label…