# HPISLANDDETECTION System Variable
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [System Variables](Help%20System/GSTARCAD/2022/System%20Variables/(System%20Variables).md) → [H](Help%20System/GSTARCAD/2022/System%20Variables/H/(H).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.