> For the complete documentation index, see [llms.txt](https://fish-networking.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fish-networking.gitbook.io/docs/tutorials/getting-started/setting-up-a-camera.md).

# Setting Up a Camera

When it comes to multiplayer, a player's camera setup can seem quite tricky to understand. In reality it's often quite simple, only one[^1] camera should exist for your local player.

The most reliable method is to create a camera prefab and instantiate it locally when the player's character spawns. Alternatively, you can place a camera in the scene ahead of time and have the player’s object "claim" it upon spawning.

Things get a bit more nuanced when working with [Cinemachine](https://unity.com/features/cinemachine). We'll briefly explore how to manage this setup effectively.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Instantiating a Local Camera</td><td><a href="/pages/BgJXuXbfubpDqUqdXCzZ">/pages/BgJXuXbfubpDqUqdXCzZ</a></td><td><a href="/files/ZHWVp2rkPnYXCRv7rJcr">/files/ZHWVp2rkPnYXCRv7rJcr</a></td></tr><tr><td>Using the Scene Camera</td><td><a href="/pages/0emSr8HvCRQtNh9rguAQ">/pages/0emSr8HvCRQtNh9rguAQ</a></td><td><a href="/files/vrABv1qq9G8E5SMPHZro">/files/vrABv1qq9G8E5SMPHZro</a></td></tr><tr><td>Basic Setup with Cinemachine</td><td><a href="/pages/9Ipgs7Hwzl3RpSMk0a6S">/pages/9Ipgs7Hwzl3RpSMk0a6S</a></td><td><a href="/files/Vim2cW0YY8sfwqI3BE1g">/files/Vim2cW0YY8sfwqI3BE1g</a></td></tr></tbody></table>

[^1]: This is excluding cameras used for minimaps, rear view mirrors, etc.
