# HPDRAWORDER System Variable
[GstarCAD 2012](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [H](%28H%29.md)
| | |
| --- | --- |
| Type | Integer |
| Saved-in | Not saved |
| Initial value | 0 |
| Range | 0-4 |
Controls the draw order of hatches and fills. Stores the Draw Order setting from the Hatch and Fill Dialog Box.
0 None. The hatch or fill is not assigned a draw order.
1 Send to back. The hatch or fill is sent to the back of all other objects.
2 Bring to front. The hatch or fill is brought to the front of all other objects.
3 Send behind boundary. The hatch or fill is sent behind the hatch boundary.
4 Bring in front of boundary. The hatch or fill is brought in front of the hatch boundary
---
## Other versions with matching text
[GstarCAD 2011](../../../2011/System%20Variables/H/HPDRAWORDER%20System%20Variable--0d2a9f1fa88c.md)