# Best way to create line segments using MeshBuilder.CreateLines (or MeshBuilder.CreateLineSystem)?

**URL:** <https://forum.babylonjs.com/t/best-way-to-create-line-segments-using-meshbuilder-createlines-or-meshbuilder-createlinesystem/4633>\
**Category:** Questions\
**Created:** [July 21, 2019, 3:29pm UTC](https://forum.babylonjs.com/t/best-way-to-create-line-segments-using-meshbuilder-createlines-or-meshbuilder-createlinesystem/4633 "2019-07-21T15:29:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vedrrran](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vedrrran/32/3578_2.png) [@vedrrran](https://forum.babylonjs.com/u/vedrrran)\
**Post date:** [July 21, 2019, 3:29pm UTC](https://forum.babylonjs.com/t/best-way-to-create-line-segments-using-meshbuilder-createlines-or-meshbuilder-createlinesystem/4633/1 "2019-07-21T15:29:38Z")

</div>

Let’s say that I want to draw ten vertical lines that are parallel. What would be the best way to do that? Should I use multiple `MeshBuilder` elements? Or can I somehow do that using one `MeshBuilder` and it’s `CreateLines` method?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 22, 2019, 5:23pm UTC](https://forum.babylonjs.com/t/best-way-to-create-line-segments-using-meshbuilder-createlines-or-meshbuilder-createlinesystem/4633/2 "2019-07-22T17:23:44Z")

</div>

One MeshBuilder as it is static and you cannot instantiate it

---

<div class="post-metadata">

**Author:** ![jerome](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jerome/32/22_2.png) [@jerome](https://forum.babylonjs.com/u/jerome)\
**Post date:** [July 22, 2019, 6:00pm UTC](https://forum.babylonjs.com/t/best-way-to-create-line-segments-using-meshbuilder-createlines-or-meshbuilder-createlinesystem/4633/3 "2019-07-22T18:00:19Z")

</div>

The right tool is MeshBuilder.CreateLineSystem
