# 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="setting-up-a-camera/instantiating-a-local-camera">instantiating-a-local-camera</a></td><td><a href="https://1328095063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MheH2hMo3djr9VSyxTE%2Fuploads%2Fgit-blob-a285527e712e7adb09bbdac3ab666ac9c29fb82b%2Finstantiated-camera-card.png?alt=media">instantiated-camera-card.png</a></td></tr><tr><td>Using the Scene Camera</td><td><a href="setting-up-a-camera/using-the-scene-camera">using-the-scene-camera</a></td><td><a href="https://1328095063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MheH2hMo3djr9VSyxTE%2Fuploads%2Fgit-blob-19707680718673e0ac7d2316246fa651c48c011a%2Fscene-camera-card.png?alt=media">scene-camera-card.png</a></td></tr><tr><td>Basic Setup with Cinemachine</td><td><a href="setting-up-a-camera/basic-setup-with-cinemachine">basic-setup-with-cinemachine</a></td><td><a href="https://1328095063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MheH2hMo3djr9VSyxTE%2Fuploads%2Fgit-blob-2b740a01f6c80508ae22feaaa72d4a93abd417c5%2Fcinemachine-camera-card.png?alt=media">cinemachine-camera-card.png</a></td></tr></tbody></table>

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