> For the complete documentation index, see [llms.txt](https://nyx-store.gitbook.io/nyx-store-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nyx-store.gitbook.io/nyx-store-docs/resources/nyx-target/zone-options-formatting.md).

# Zone Options Formatting

When setting up a target zone, you will need to provide the necessary information to create a PolyZone, this resource requires PolyZone to work:

{% embed url="<https://github.com/mkafrin/PolyZone>" %}

## Example Circle Zone Options

```lua
{
    name = 'debug_zone_circle', -- the name of the zone
    center = vector3(0.0, 0.0, 0.0), -- the center of the circle zone
    radius = 1.0, -- the size of the zone
    debugPoly = true, -- if the zone should be visible
    useZ = true, -- if the circle should be spherical 
}
```

## Example Box Zone Options

```lua
{
    name = 'debug_box_zone', -- the name of the zone
    center = vector3(0.0, 0.0, 0.0),  -- the center of the box zone
    width = 1.0, -- the width of the box zone
    length = 1.0, -- the length of the box zone
    debugPoly = true, -- if the zone should be visible
}
```

## Example Poly Zone Options

```lua
{
    name = 'debug_poly_zone', -- the name of the zone
    points = { -- the points of the poly zone
        vector2(0.0, 0.0),
        vector2(0.0, 0.0),
        vector2(0.0, 0.0),
    },
    debugPoly = true, -- if the zone should be visible
}
```


---

# 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:

```
GET https://nyx-store.gitbook.io/nyx-store-docs/resources/nyx-target/zone-options-formatting.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.
