When "Z As Relative" is checked on for a Node2D, its Z-Index is computed relatively to its parent's. So if I have a scene tree like this
Node B's Z-Index is 2+3=5.
However, in a much more complicated tree, it might be a bit complex to compute that absolute Z-Index. Is there a built-in way to obtain that absolute value as the engine would calculate it?