# 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)


---

# 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.ninjutsugames.com/game-creator-1/photon-network/guides/how-to-setup-camera-motor.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.
