# HPISLANDDETECTIONMODE
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md)
**Function Description:**
The HPISLANDDETECTIONMODE system variable is used to control whether to detect internal closed boundary(named island).
| | |
| --- | --- |
| Type | Integer |
| Saved in | Not saved |
| Initial value | 1 |
| Range | 0,1 |
**System Variable Value:**
**0:**off
**1:** on(recommended)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables/HPISLANDDETECTIONMODE.html) · © Gstarsoft Co., Ltd.