# HPISLANDDETECTION System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md)
**Function Description:**
The HPISLANDDETECTION system variable is used to control how to treat the island in the boundary of the new hatch pattern.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Not saved |
| Initial value | 1 |
| Range | 0,1,2 |
**System Variable Value:**
**0:** Normal. Hatches islands within islands.
1: Outer. Hatches only areas outside of islands.
2: Ignore. Hatches everything within the boundaries.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/HPISLANDDETECTION.html) · © Gstarsoft Co., Ltd.