# Respawn

In order to teleport the user to a desired location within the Metaverse, you'll need to use **RespawnView**.

Create an empty GameObject and rename it appropriately. Attatch a **RespawnView** component and a **GuidComponent** on to it. Create an empty child object under it and name it "*Respawn Point*". Assign this child object into RespawnView's Respawn Point field.&#x20;

<figure><img src="/files/5SpcnEtugaRTMVoGfkwe" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/GrJnNdd7i1uF1Bfwg7vY" alt=""><figcaption></figcaption></figure>

The value field determines the radius of the random respawn.

To respawn the player using this View, call RespawnView\.Respawn() using an event handler, such as **OnTriggerHandler** or **OnClickHandler**.

<figure><img src="/files/7OQn0eXGDJxtlBC5ZLOG" alt=""><figcaption><p>For better understanding, see <a href="/pages/qIrzeu2rqLYwHnFJHJb1">Interaction Events</a>.</p></figcaption></figure>

<figure><img src="/files/n5zAgkAFG9nGD8vBns7J" alt=""><figcaption></figcaption></figure>


---

# 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.holofair.app/development/features/respawn.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.
