# HPDRAWORDER System Variable
[GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [H](%28H%29.md)
| | |
| --- | --- |
| Type | Integer |
| Saved-in | Not saved |
| Initial value | 0 |
| Range | 0-4 |
Specifies the draw order of hatches and fills. Stores the Draw Order setting from the Hatch and Gradient dialog box.
0 Do not assign. 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 Behind boundary. The hatch or fill is sent behind the hatch boundary.
4 Front of boundary. The hatch or fill is brought in front of the hatch boundary
---
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/H/HPDRAWORDER%20System%20Variable.md)