# LINE_STRIP

> Mode for GL.Begin: draw line strip.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public const int LINE_STRIP = 2
```

### Remarks

Draws lines between each vertex passed, from the beginning to the end. If you pass three vertices, A, B and C, two lines are drawn: one between A and B, and one between B and C.

To set up the screen for drawing in 2D, use [GL.LoadOrtho](/engine/6000.7/script-reference/unityengine/gl/loadortho.md) or [GL.LoadPixelMatrix](/engine/6000.7/script-reference/unityengine/gl/loadpixelmatrix.md). To set up the screen for drawing in 3D, use [GL.LoadIdentity](/engine/6000.7/script-reference/unityengine/gl/loadidentity.md) followed by [GL.MultMatrix](/engine/6000.7/script-reference/unityengine/gl/multmatrix.md) with the desired transformation matrix.

Additional Resources: [GL.Begin](/engine/6000.7/script-reference/unityengine/gl/begin.md), [GL.End](/engine/6000.7/script-reference/unityengine/gl/end.md).
