Getting absolute screen position of a label node in Godot 4.3

Godot Version

4.3

Question

For the life of me I can’t figure this out. I have a rather complex hierarchy of control nodes. The root control node is rotated by 90 degrees, and its multiple children and grand children and great grand children etc. follow suit.

Screenshot 2024-11-03 094830

This is the rotation of the root control (full rect). It’s basically rotated to the side so I needed to flip its x and x size and also offset its position to fit it to the viewport:
Screenshot 2024-11-03 094855

One of the great grand children is a vboxcontainer which has a bunch of label nodes that are added at runtime. I need to get their positions, but because of the rotation of the root, none of the common ways works.

Is there a way to get a global position of a control node on screen, relative to the main viewport, that just tells me where the node is on the screen (x,y) while ignoring the hierarchy of parent nodes and their transforms?

Isn’t it just global_position?