# How deep does the GameObject.GetComponentsInChildren() , Go?

So I have a GameObject which my scene will be it's children.
I wanted to get the BoxCollider of all the objects and their sub-objects and their sub-objects's sub-objects and ... .
So can I do that with just the GetComponentsInChildren(), or should I navigate through them all and find them one by one?

• You provide a link to official documetation that clearly states you can, why did you think you could not? – Gnemlock Jan 14 '17 at 5:59

The documentation you link covers the answer to this, quite clearly. GetComponentsInChildren will return components from all sub children.
Returns all components of Type type in the GameObject or any of its children.