# HPORIGINMODE System Variable
[GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [H](%28H%29.md)
| | |
| --- | --- |
| Type | Integer |
| Saved-in | Registry |
| Initial value | 0 |
| Range | 0-5 |
Specifies how HATCH determines the default hatch origin point.
0 Use current origin. Hatch origins are set using HPORIGIN
1 BL,Hatch origins are set using the bottom-left corner of the rectangular extents of the hatch boundaries
2 BR,Hatch origins are set using the bottom-right corner of the rectangular extents of the hatch boundaries
3 TR,Hatch origins are set using the top-right corner of the rectangular extents of the hatch boundaries
4 TL,Hatch origins are set using the top-left corner of the rectangular extents of the hatch boundaries
5 MC,Hatch origins are set using the center of the rectangular extents of the hatch boundaries
---
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/H/HPORIGINMODE%20System%20Variable.md)