# HPORIGINMODE System Variable
[GstarCAD 2012](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [H](%28H%29.md)
| | |
| --- | --- |
| Type | Integer |
| Saved-in | Registry |
| Initial value | 0 |
| Range | 0-5 |
Controls how HATCH determines the default hatch origin point.
0 Hatch origins are set using HPORIGIN
1 Hatch origins are set using the bottom-left corner of the rectangular extents of the hatch boundaries
2 Hatch origins are set using the bottom-right corner of the rectangular extents of the hatch boundaries
3 Hatch origins are set using the top-right corner of the rectangular extents of the hatch boundaries
4 Hatch origins are set using the top-left corner of the rectangular extents of the hatch boundaries
5 Hatch origins are set using the center of the rectangular extents of the hatch boundaries
---
## Other versions with matching text
[GstarCAD 2011](../../../2011/System%20Variables/H/HPORIGINMODE%20System%20Variable.md)