# Spawn Areas

### description: Using Spawn Areas to set the Spawning position & Spawn Camera position visually.

## Spawn Areas

The creator can set the **Spawn Position** and **Spawn Camera Target** in the Creator Hub by editing a **Spawn Area** Entity.

This gives the creator a visual way of setting the Spawn Area and the direction the avatar will be facing when spawned as done with other objects in the scene.

![](/files/FHxZShrnMjIt17Tb7BhX)

The Spawn Area is composed of two different entities that work together:

* **Spawn** Entity: can be found inside the **Player** Entity. Defines the actual Spawn Point of the Player.

![](/files/sunTlL85fG6KMY8C2ols)

* **Camera Target** Entity: can be found inside the **Spawn Area** Entity. Move it to the desired direction in which the Player will be spawned.

![](/files/3O7W4mMPBjUnQ26fFqFv)

### Changing Spawn Areas

**Spawn Areas** and their **Camera Target** can be moved directly from the Scene Editor as with any other object in the scene, or modify it's values manually (as with Transforms in other Entities).

#### Parameters

When a Spawn Area is selected, the creator is able to see and set the following values on the Components section:

![](/files/eIIaLvarUdtTHTzNn83g)

* **Position**: Avatar's Spawn Position.
* **Spawn Camera Target**: The direction the camera (and the avatar) will be facing once spawned into the scene. When modifying the Spawn Camera Target.
* **Randomized Area**: Adds randomness to the Spawn Area in meters, enabling and disabling it with the **Don't randomize** toggle. When enabled, an area is rendered in the Scene Editor, showing the area in which the Player can randonmly be spawned in.

![](/files/Wz3KsXWMQvM3t8CFyTgq)

### Multiple Spawn Areas

![](/files/vngZY9Yj3ha3emtFHD8G)

The creator can have multiple **Spawn Areas** defined. To create a new Spawn Area, follow these steps:

1. Select any Spawn Area, **spawn1** being the default.
2. All the Spawn Areas show on the right Panel. You can add new ones by clicking on **+ Add New Spawn Area** ![icon](/files/0tfZ2yxiyHSxN3XeEpP4).

![](/files/xZnssx99KLU074X7NvDq)

3. Enable the **Main Spawn** ![icon](/files/hmN8qxKbLgMSnmQwxP7p) of the desired Spawn Area. If there are many Spawn areas toggled as **Main Spawn**, the player will randonmly appear in one of them.
4. Preview the scene.


---

# 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.decentraland.org/creator/scene-editor/build/spawn-areas.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.
