> For the complete documentation index, see [llms.txt](https://docs.ninjutsugames.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ninjutsugames.com/game-creator-1/photon-network/guides/how-to-setup-camera-motor.md).

# How to setup Camera Motor

## Overview

Using a Game Creator camera motor for a Multiplayer doesn't work the same way as a Single player game and the reason for this is that depending on the type of camera you use like **Adventure** or **First Person** these types of camera requires a target and usually you use **Player** as target

The problem is the Player instance doesn't exists yet therefore you will get errors.

## Solutions

For all the possible solutions you can have 2 separate Camera Motors one that will be active at the beginning looking at your map for example and another one for the player that should be inactive.

### Use a Variable

Inside the Photo Instantiate action there is a **Assign To Variable** field which you can use to store your player instance.

![](/files/-MKMfZWYeA1QSWyS1UB3)

Once your player is instantiated this variable will change therefore you could use a\
**On Variable Change**

Once your player becomes active you can turn on your player camera and call the change Camera action.

![](/files/-MKMgy-hu_eeLeKFtYfP)

In this example we choose to set Player Camera target to be the same variable we use to store our player Instance. If you choose to use Player instead of a variable as target you must have this game object turned off at the beginning.

![](/files/-MKMhGkYcbZOz_jvua5J)
