I have this tree structure :

And I would like to access ImageSceneContainer
top left position relative to Canvas
within TopRuler
script
I looked at the inspector while tweaking the nodes and the variable rect_position
seems to be the one I am looking for. Therefore I wrote this to access it : onready var target_top_left_corner = $"../ImageSceneContainer".rect_position
However the values written in target_top_left_corner
are the margin_left
and margin_top
Those are the values shown in the inspector :

Am I missing something ? I really hoped it was as straight forward as just getting the value but I guess it isn't and still have to learn.