> For the complete documentation index, see [llms.txt](https://xgine.gitbook.io/xgine-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xgine.gitbook.io/xgine-docs/advanced-features/auto-hide.md).

# Auto Hide

Stay safe with automatic hiding! Auto Hide activates your cloaking skills when you're under attack, providing protection from dangerous situations.

***

## 🎯 Overview

Auto Hide automatically:

* **Detects** when you're being attacked
* **Activates** your hide/cloak skill instantly
* **Unhides** when it's safe (optional)

***

## ⚙️ Configuration

| Setting         | Description                    |
| --------------- | ------------------------------ |
| **Enabled**     | Toggle auto hide on/off        |
| **Key**         | Hotkey for your hide skill     |
| **Delay**       | Reaction time after detection  |
| **Auto Unhide** | Automatically unhide when safe |

***

## 🎭 Supported Skills

Works with any hiding or cloaking skill:

| Job Class            | Compatible Skills   |
| -------------------- | ------------------- |
| **Thief / Assassin** | Hide                |
| **Assassin Cross**   | Cloaking            |
| **Stalker**          | Stealth, Chase Walk |
| **Ninja**            | Cicada Skin Shed    |

***

## 🛡️ Use Cases

### PK Protection

| Scenario   | How Auto Hide Helps          |
| ---------- | ---------------------------- |
| **Ambush** | Instantly hide when attacked |
| **Gank**   | Escape multiple attackers    |
| **Escape** | Buy time to teleport away    |

### Monster Avoidance

| Scenario       | How Auto Hide Helps            |
| -------------- | ------------------------------ |
| **MVP Skills** | Dodge dangerous boss attacks   |
| **Mob Train**  | Escape when overwhelmed        |
| **Recovery**   | Hide while waiting for potions |

{% hint style="success" %}
**Pro Tip:** Combine Auto Hide with push notifications to get alerted when you're being attacked!
{% endhint %}

***

## ⏱️ Timing Settings

| Setting   | Recommended | Notes                                 |
| --------- | :---------: | ------------------------------------- |
| **Delay** |  100-300ms  | Balance between speed and reliability |

{% hint style="warning" %}
**Too Fast:** May cause detection issues\
**Too Slow:** May take damage before hiding
{% endhint %}

***

## 🔄 Auto Unhide

When enabled, the system will:

1. **Wait** until you're no longer being attacked
2. **Unhide** automatically
3. **Resume** normal operation

***

## ⚠️ Limitations

<details>

<summary><strong>Things to Keep in Mind</strong></summary>

* Requires the hide skill to be learned
* Some attacks may land before hide activates
* Certain magic attacks can reveal hidden characters
* Some servers have hide skill cooldowns

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://xgine.gitbook.io/xgine-docs/advanced-features/auto-hide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
