# Scene setup

## Setup Video Tutorial

{% embed url="<https://www.youtube.com/watch?v=O0CnZcsuRRg&ab_channel=coherence>" %}

It's quick and easy to set up a networked scene from scratch using the **coherence** SDK. This example will show you the basic steps to sync up some moving characters.&#x20;

Add these components to your scene to prepare it for network synchronization.

### **1. Add MonoBridge**

![](/files/-MdvLEewvxhTA5gTDAZa)

`coherence -> Scene Setup -> Create MonoBridge`

This object takes care of connected `GameObject` lifetimes and allows us to develop using traditional `MonoBehaviour` scripts. &#x20;

### **2. Add LiveQuery - Hierarchy**

![](/files/-MdvLO7d58METgJItKhS)

`coherence -> Scene Setup -> Create LiveQuery`

Creates a [*LiveQuery* ](/0.5.2/api-reference/network-sdk/livequery.md)which queries the area around the local player to get required information from the replication server. You can surround your entire scene in one query or can attach it to an object such as the player or a camera.&#x20;

<div align="left"><img src="/files/-MYvDUzq9NauwRZlj-iD" alt="Set the radius of the LiveQuery"></div>

### **3. Add** the Sample **UI**

![](/files/-MdvLUquyYVRwEcgH8Bv)

`coherence -> Scene Setup -> Add Sample UI`

Creates a `Canvas` (and `Event System` if not already present in the scene) with a sample UI that helps you connect to a local or remote replication server. You can create your own connection dialog, this one is just a quick way to get started.

![](/files/-MdvLadHkbt2AcvUeesX)


---

# 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/0.5.2/get-started/scene-setup.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.
