How do i find position of a child widget of a vertical/horizontal box?

How do i find position of a child widget of a vertical/horizontal box or basically any child widget relative to the center of the screen? Get cached geometry wouldn’t work because i have logic on PreConstruct