# PrefabSyncGroup

`PrefabSyncGroup` is a component to enable workflows where networked Prefabs are nested into each other. By adding this component, coherence will be able to track "which Prefab is nesting which one", and thus keep their structure and lifetime synchronised once the game is running.

<figure><img src="/files/EhDTi1kmJ3t3mStNPk80" alt="" width="563"><figcaption><p>The PrefabSyncGroup component</p></figcaption></figure>

The complexity of that is all taken care of for you. As a user, all you need to do is add `PrefabSyncGroup` to the root of the Prefab that is containing the others.

Read more and see an example in the dedicated page [Nesting Prefabs at Edit time](/2.0/manual/parenting-network-entities/nesting-prefabs-at-edit-time.md).

{% hint style="warning" %}
The tracked child prefab instances with CoherenceSync can not be un-parented or individually destroyed except by destroying the parent. Other instantiated prefabs can be parented, un-parented and destroyed though.
{% endhint %}

{% hint style="info" %}
To get familiar with all parenting options, we strongly recommend to read the [Parenting network entities](/2.0/manual/parenting-network-entities.md) section.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.coherence.io/2.0/manual/components/prefab-sync-group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
