# SKETCH Command
[GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [S](%28S%29.md)
## Function Description:
> Create a series of freehand line segments.
**Command Entry:**
> SKETCH
Command Prompt:
> Freehand: Length of segments \<Current\>:
>
> The record increment value defines the length of the line segments. The pointing device must be moved a distance greater than the increment value to generate a line.
>
> Sketching is captured as a series of independent lines. Setting the SKPOLY system variable to a nonzero value produces a polyline for each contiguous sequence of sketched lines rather than multiple line objects.
>
> Press ENTER to end/Pen down/(Begin...)
>
> User don't have to press mouse all the time when creating line segments.
>
> Press ENTER to end/Pen up/Quit/Delete on/Connect/Straight to cursor/ Write to drawing/(Sketching...):
>
> **Exit**
>
> Press ENTER to end the Command
>
> **Pen Up**
>
> Raise and lowers the sketching pen. The pen must be raised before you can select menu items with the pointing device.
>
> **Quit**
>
> Discard all temporary lines sketched since the start of SKETCH or the last use of the Record option, and ends the Command.
>
> **Delete on**
>
> Delete all the pars of temporary segment if sketching pen has been lowered then raised it
>
> **Connect**
>
> Lowers the pen to continue a sketch sequence from the endpoint of the last sketched line or last Erase.
> **Straight to cursor**
>
> Lower the pen, draws a straight line from the endpoint of the last sketched line to the pen's current location, and returns the pen to the up position.
>
> **Write to drawing**
>
> It is similar to end Command,but it will not end the Command ,system will continue to prompt to create freehand line segments.
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/Commands/S/SKETCH%20Command.md)