# HATCHSETORIGIN Command [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [H](Help%20System/GSTARCAD/2022/Commands/H/(H).md) ## Function Description: This command is used to control the starting location of hatch pattern generation for a selected hatch. Controls the hatch origin location point for solid and gradient hatches. Users can select and change multiple hatch objects, as well change their hatch origin for multiple hatches at the same time. ## Command Access: > **Icon:** / > **Menu:** / > **Ribbon:** / > **Toolbar:** / > **Command:** HATCHSETORIGIN > **Alias:** / > **Shortcut:** Select hatch object and right-click, click > Set Origin ## Command Prompts: Select hatch object: Select new hatch origin: ## Select hatch object Selects the hatch object. ## Select new hatch origin Specifies the location of origin point within the hatch pattern.