> 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
}
```
