# DataType:currentzone

Contains data about the current zone.

## Members

This type inherits members from [*zone*](/macroquest/data-types-and-top-level-objects/data-types/datatype-zone.md).

| **Type**                                                                               | **Member**    | **Description**                                                                                    |
| -------------------------------------------------------------------------------------- | ------------- | -------------------------------------------------------------------------------------------------- |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **Dungeon**   | Are we in a dungeon                                                                                |
| [*float*](/macroquest/data-types-and-top-level-objects/data-types/datatype-float.md)   | **Gravity**   | Gravity                                                                                            |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **ID**        | Zone ID                                                                                            |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **Indoor**    | Are we indoors?                                                                                    |
| [*float*](/macroquest/data-types-and-top-level-objects/data-types/datatype-float.md)   | **MaxClip**   | Maximum clip plane allowed in zone                                                                 |
| [*float*](/macroquest/data-types-and-top-level-objects/data-types/datatype-float.md)   | **MinClip**   | Minimum clip plane allowed in zone                                                                 |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **Name**      | Full zone name                                                                                     |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **NoBind**    | Can we bind here?                                                                                  |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md)     | **Outdoor**   | Are we outdoors?                                                                                   |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **ShortName** | Short zone name                                                                                    |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **SkyType**   | Sky type                                                                                           |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **Type**      | Zone type:0=Indoor Dungeon 1=Outdoor 2=Outdoor City 3=Dungeon City 4=Indoor City 5=Outdoor Dungeon |
| [*int*](/macroquest/data-types-and-top-level-objects/data-types/datatype-int.md)       | **FogOnOff**  | Is the fog on\|off                                                                                 |
| [*string*](/macroquest/data-types-and-top-level-objects/data-types/datatype-string.md) | **To String** | Same as **Name**                                                                                   |

## Example

A check in a condition or a macro to determine if the current zone is indoors:

```
${Zone.Indoor}
```


---

# 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://macroquest.gitbook.io/macroquest/data-types-and-top-level-objects/data-types/datatype-currentzone.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.
