# GCHORIZONTAL Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [G](Help%20System/GSTARCAD/2027/Commands/G/(G).md) ## Function Description: Aligns a line or a pair of points to be parallel to the X-axis of the current coordinate system. ## Command Access: Icon:![](Help%20System/GSTARCAD/2027/assets/2504a165cc72330e4bc16e14cdfba1f28ada119e78f4f81b6e7aa31834b813f9.png) Menu Item: Parameters > Geometry > Horizontal Ribbon: Parameters > Geometry > Horizontal Toolbar: / Command Line: GCHORIZONTAL Command Alias: / ## Command Prompts: ``` Select object or [Two points (2p)]: Select the object that needs to be parallel to the X-axis or specify two points. ``` ## Operation Steps: 1、As shown in the figure (which is not provided here), select the line to apply the horizontal constraint. 2、The line will be aligned to be parallel to the X-axis. ![](Help%20System/GSTARCAD/2027/assets/265f3bdbf33cf92470f67d9efd186675d340336aec90fef48801d93529123a70.png) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_G/GCHORIZONTAL.html) · © Gstarsoft Co., Ltd.