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

![](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-bcd3c3c72efd85534dea4963b11399ba391c5708%2Fimage.png?alt=media)

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.

![](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-acdd18bfc8ebe3a05ca4342fa3049fbd76c4dee2%2Fimage.png?alt=media)

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.

![](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-7a44aecc2f4089cbe578c0db13053ee3d792a3ef%2Fimage.png?alt=media)
