# CoherenceGlobalQuery

CoherenceGlobalQuery is used to create a query that will make all entities marked as "**Global**" visible, regardless of their position or [LiveQuery](/1.6/manual/components/coherence-live-query.md) configuration.

In order to create a global query, a CoherenceGlobalQuery component has to be added to a networked Prefab (i.e. one with CoherenceSync attached):

<figure><img src="/files/rJ3ivQQ0IsThdKEHRR8K" alt=""><figcaption><p>Example Prefab with a CoherenceGlobalQuery Component</p></figcaption></figure>

Making a networked object global is as simple as checking the "**Is Global**" toggle in the CoherenceSync config window. From now on that object will be visible to every client with the CoherenceGlobalQuery enabled.

<figure><img src="/files/454FUefoZSf2IrzKyktO" alt=""><figcaption><p>Example of setting a CoherenceSync entity global</p></figcaption></figure>


---

# 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/1.6/manual/components/coherenceglobalquery.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.
