# Custom Gate

{% hint style="info" %}
**What is custom gate?**

In VR, a gate is an area for interacting with the real world. In Mixed mode, you can use the hand/controller gate or the central gate, and the custom gate lets you adjust its size and position.
{% endhint %}

## How to find custom gate:

1. Click the **"Desk"** button from the main menu.
2. In the **Passthrough** tab, look for **Custom Gate.**

***

## Create

1. **Create a custom gate:** In the passthrough tab, go to the custom gate section and click a number button.
2. **Draw the custom gate**: Use the **first click** to set the starting point and the **second click** to set the ending point, drawing a rectangular custom gate.
3. **Confirm or reset:** Click **Done** to save, or use **Cancel** to discard and **Redraw** to try again.

<figure><img src="https://3094266310-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1AxQXJzsVFhLJTfrFw9q%2Fuploads%2FO6Y3Um20QDaZuEQN9CaQ%2Fcustom%20gate.gif?alt=media&#x26;token=1b5d66a0-6e77-4cf5-b673-24467ead6634" alt=""><figcaption></figcaption></figure>

## Show/Hide

{% hint style="info" %}
Up to five custom gates are supported, and the **vision panel has numbered buttons** that correspond to the You can create up to five custom gates using the numbered buttons in the vision panel. After creation, these buttons work as on/off toggles, and you can also turn gates off from the custom gate sidebar.
{% endhint %}

1. **Create the custom gate**: Follow the steps to create a custom gate as described above.
2. **Toggle On/Off**: Once the custom gate is created, press the **number button** in the vision panel or the **"Hide" button** in the gate side bar menu to turn the gate on or off as needed.

## Pin

{% hint style="info" %}
When using your PC, custom gates may move if touched by your hands or controller. Use the **Pin** button in the custom gate menu to lock them in place. This feature is highly recommended when working with custom gates.
{% endhint %}

1. **Move the custom gate**: Position the gate to your desired location.
2. **Pin the custom gate:** In the gate menu, press the "Pin" button. This will fix it in its current position.

<figure><img src="https://3094266310-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1AxQXJzsVFhLJTfrFw9q%2Fuploads%2Fr9RoebRhaBOzajI1mWBE%2Fgate-pin.gif?alt=media&#x26;token=903a7e8c-06b4-4e3e-9f9a-b2b2ddf6092f" alt=""><figcaption></figcaption></figure>

## Unpin

When the gate is pinned, hovering over the gate menu button with your ray will display an unpin icon. Click the icon to unpin the gate and move it freely.

<figure><img src="https://3094266310-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1AxQXJzsVFhLJTfrFw9q%2Fuploads%2Fc8pnpslCqj9Srqv09Ew9%2Fgate-unpin.gif?alt=media&#x26;token=583243d2-d03e-4de1-9554-de30523bf8f9" alt=""><figcaption></figcaption></figure>
