> For the complete documentation index, see [llms.txt](https://tools.continis.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tools.continis.io/black-box/main-features/reveal/child-gameobjects.md).

# Child GameObjects

While you normally want a locked Prefab to be shown as one object, it is possible to reveal important children GameObjects that – for some reason – need to stay visible and editable.

When revealed, they appear in the Hierarchy as they normally would:

<figure><img src="/files/QQPItbnAFbMj5oRDaxEW" alt=""><figcaption><p>A locked Prefab, with a level 1 child revealed</p></figcaption></figure>

If the revealed child is not a direct child of the root, its direct parent and other ancestors will also appear, but they will be shown as disabled (unless they are also intentionally set to be revealed):

<figure><img src="/files/gSrejSs3PmwTd0uRtm6u" alt=""><figcaption><p>A locked Prefab that had a level 3 child revealed. Its ancestors also appear, but disabled.</p></figcaption></figure>

## Revealing child GameObjects

To reveal a child GameObject, you can do it in two ways:

### On the BlackBox component

Click on the **Show Revealable Items** button on the BlackBox, and expand the foldouts until you arrive to the GameObject or component you're interested in.

Child GameObjects are preceded by a small **\[GO]** icon:

<figure><img src="/files/626I1MtagXxTNJJeepq8" alt=""><figcaption></figcaption></figure>

Press the **\[+]** button to add the GameObject to the reveal list.

### Via the context menu

Child GameObjects can also be revealed in context.

In the Hierarchy, select a child, right-click and choose **BlackBox > Child GameObject > Reveal in the xxx list**. Revealing a child GO this way will reveal it using its Transform.

Alternatively, you can right-click any component in the Inspector and choose **BlackBox > Child GameObject > Reveal using this component in the xxx list**. Revealing it this way will use the component that was right-click (see below).

## Which components are displayed?

When revealing GameObjects, you can choose which component(s) to reveal the child with. Revealed components are visible and editable, but the other components aren't.

For instance, a child GameObject revealed with its Transform will only show the Transform when inspected. If that object is revealed using its BoxCollider, then it will only show that and not the Transform.

{% hint style="info" %}
It is possible to reveal the same GameObject multiple times using each time a different component. This makes it so that the GameObject will display all of the revealed components.

For instance, in the example above, one could reveal that GameObject via its Transform and its BoxCollider.
{% endhint %}

<figure><img src="/files/z8pFrAHBFBuKiKBeT7C6" alt=""><figcaption><p>A child revealed multiple times using 2 of its components. These components are going to be both visible in the Inspector when that child is selected.</p></figcaption></figure>
