Getting a child's real coordinates

You thinking backwards. you need to redesign your code, so you can look from the outside in not the other way around.