# HATCHCREATION System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [H](Help%20System/GSTARCAD/2026/System%20Variables/H/(H).md)
## Function Description:
The value is 1 when the HATCH, BHATCH, or GRADIENT commands are initiated to create a
hatch, and 0 when editing a hatch or in other scenarios. (Read-only)
| | |
| --- | --- |
| Type | Integer |
| Saved in | Not-saved |
| Initial value | 0 |
| Range | 0/1 |
## System Variable Value:
**0:** Close the hatch creation.
**1:** Open the hatch creation.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables_Hgsv/HATCHCREATION.html) · © Gstarsoft Co., Ltd.