# WorldGateway001

![Example usage of gateway](https://3394462452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUDnxusBl2VZpW27hWPJV%2Fuploads%2F8eU8OwEryaRwLMsigCyt%2Fteleport.gif?alt=media\&token=23620ec6-355b-4750-a2ea-51c9ad51cdcd)

#### Description

The World Gateway is used to allow players to visit other realms and extensions without interacting with the UI.&#x20;

#### Usage

Click on an empty place in the hierarchy, select Dreem and World Gateway 001.

![Adding a world gateway](https://3394462452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUDnxusBl2VZpW27hWPJV%2Fuploads%2F3G7oUWpYsayGjHwsyiO1%2Fworld_gateway_001.png?alt=media\&token=f18bd2ef-f134-447f-94ca-c9f52af9b536)

Then you can change gateway parameters by editing names in the hierarchy. The gateway will be visualized by black circle. Remember to place it exactly on the ground so players can reach the gateway.

![Defining an example gatewy ausing hierarchy](https://3394462452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUDnxusBl2VZpW27hWPJV%2Fuploads%2FcjVSnZmEGLuzqJohTbqx%2Fgateway.png?alt=media\&token=bd82f41c-9166-4ba5-9ad3-c79ba7daa810)

#### Properties

| Name   | Type                                                         | Description                                           |
| ------ | ------------------------------------------------------------ | ----------------------------------------------------- |
| `id`   | Integer                                                      | Id of the realm/extension you want to open gateway to |
| radius | Integer or Floating point number separated by dot, (eg. 2.5) | How big your gateway would be                         |

You can check your realm/extension ID on the webpage&#x20;

![This realm has id 30](https://3394462452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUDnxusBl2VZpW27hWPJV%2Fuploads%2FVlp7dHBsJLWIlNLbRXwh%2Frealmmm.png?alt=media\&token=c02e22a3-b36a-414d-92f3-d9e77de20cbf)

![In this case, this extension has id 84](https://3394462452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUDnxusBl2VZpW27hWPJV%2Fuploads%2FxxQdJQfrCv9uJh4wbVZ7%2Frealm.png?alt=media\&token=1c0ac5b1-69ce-40c5-b6e7-bd91f0adb7a0)

## Disclaimer

You can only open gateways to your worlds. Any id can be set in editor but improperly configured gateways won't be shown in the game (always make sure you have the correct access rights to the worlds you want to link).

#### Protip

If you want to link two worlds to each other (A->B and B->A) upload them first, check their IDs. Then you can create gateways in both and use [edit realm/extension](https://dreem.gitbook.io/metaverse-creator-manual/05OugTkVduc9hQ7Ajmqc/editing-your-realm-extension) functionality to keep the same IDs.


---

# 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://dreem.gitbook.io/metaverse-creator-manual/05OugTkVduc9hQ7Ajmqc/reference/dreem-creator-plugin/worldgateway001.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.
