# LINE Command
[GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [L](%28L%29.md)
## Function Description:
> Create straight line segments
**Menu:**
> Draw\>Line
**Command Entry:**
> LINE
****Command Prompt:****
> When you enter LINE ,Command prompt is displayed:
>
> ENTER to use last point \[Follow\]\<Start of line\>: Specify the start of line or press ENTER or enter Follow
>
> Start of line: Specify the start point of the line.
>
> when you press ENTER ,the prompt is displayed:
>
> \[Angle/Length\]\<End point\>:Specify end point or enter an option
>
> when you enter Follow ,the prompts are displayed:
>
> Length of line:Enter a length value
> \[Angle/Length/Follow/Undo\]\<End point\>:Specify end point or enter an options
>
> **Use last point**
>
> Create a new straight line segments from the last drawn line or arc
>
> If the last drawn object is line segment,press ENTER , system will create a new line segment from it's end point
>
> If the last drawn object is arc,press ENTER, system will create a new line segment from it's end point
>
> and the new line segment is tangent wiht the arc
>
> **Follow**
>
> Create the next straight line segment from the last drawn arc 、 end point of line segment、angle
>
> **End point**
>
> Specify the endpoint of the line.
>
> \[Angle/Length/Follow/Undo\]\<End point\>:Specify a point,or enter a option or press Enter to end Command.
>
> **Undo**
>
> Erase the most recent segment of a line sequence.
>
> Enter *u* more than once backtracks through line segments in the order you created them.
>
> **Angle**
>
> Specify the angle between the line and the x axis of UCS
>
> Length of lien: Specify the length of line
>
> Angle of line: Specify the angle of the line, or enter the angle (in degrees).
>
> The following Command prompts is displayed:
>
> \[Angle/Length/Follow/Undo\]\<End point\>:Specify a point or input options or press ENTER to end Command
>
> **Length**
>
> Enter the length of the line.
>
> Length of lien: Specify the length of line
>
> Angle of line: Specify the angle of the line, or enter the angle (in degrees).
>
> The following Command prompts is displayed:
>
> \[Angle/Length/Follow/Undo\]\<End point\>:Specify a point or input options or press ENTER to end Command
## Other versions with matching text
[GstarCAD 2011](../../../2011/Commands/L/LINE%20Command.md)