# ALIGN Command [GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [A](%28A%29.md) ## Function Description: > Align objects with other objects in 2D and 3D **Menu:** > Modif \>3D Operations\>align **Command Entry:** > ALIGN **Command prompt:** > Select objects: *Select the objects to align and press*ENTER > > Specify either one, two, or three pairs of source points and definition points to align the selected objects. > > **ALIGN Using One Pair of Points:** > > Specify first source point: *Specify a point (1)* > > Specify first destination point: *Specify a point (2)* > > Specify second source point: *Press* ENTER > > When you select only one source point and destination point pair, the selected objects move in 2D or 3D from the source point (1) to the destination point (2). > > **ALIGN Using Two Pairs of Points:** > > When you select two point pairs, you can move, rotate, and scale the selected objects in 2D or 3D to align with other objects. > > The first set of source and destination points defines the base point for the alignment (1, 2). The second set of points defines the angle of rotation (3, 4). > > After you enter the second set of points, you are prompted to scale the object. The distance between the first and second destination points (2, 4\) is used as the reference length to which the object is scaled. Scaling is available only when you are aligning objects using two point pairs. > > Note: If you use two source and destination points to perform a 3D alignment on non-perpendicular working planes, you get unpredictable results. > > **ALIGN Using Three Pairs of Points:** > > When you select three point pairs, you can move and rotate the selected objects in 3D to align with other objects. > > The selected objects move from the source point (1) to the destination point (2). > > The selected object is rotated (1 and 3\) so that it aligns with the destination object (2 and 4). > > The selected object is then rotated again (3 and 5\) so that it aligns with the destination object (4 and 6). ## Other versions with matching text [GstarCAD 2011](../../../2011/Commands/A/ALIGN%20Command.md)