- Home /
Transform child out of bounds.
I am trying to access all of a parents children with
for (var child : Transform in msg.otherList[j].transform.parent.transform)
msg.otherList[] is a list of colliders. I get the error 'Transform child out of bounds'. I have also tried just
for (var child : Transform in msg.otherList[j].transform)
But i get the same error.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613100331im_/https://answers.unity.com/themes/thub/images/avi.jpg)