# Line width is not working

**URL:** <https://discourse.threejs.org/t/line-width-is-not-working/61168>\
**Category:** Questions\
**Tags:** materials, geometry\
**Created:** [February 6, 2024, 12:53pm UTC](https://discourse.threejs.org/t/line-width-is-not-working/61168 "2024-02-06T12:53:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rikin\_18\_17\_02](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/rikin_18_17_02/32/39875_2.png) [@Rikin\_18\_17\_02](https://discourse.threejs.org/u/Rikin_18_17_02)\
**Post date:** [February 6, 2024, 12:53pm UTC](https://discourse.threejs.org/t/line-width-is-not-working/61168/1 "2024-02-06T12:53:54Z")

</div>

[https://codesandbox.io/p/sandbox/charming-tdd-nkf64x?file=%2Fsrc%2FobjViewer.tsx](https://codesandbox.io/p/sandbox/charming-tdd-nkf64x?file=%2Fsrc%2FobjViewer.tsx)

here is the sandbox link while create the new line I am not able to increase the lineWidth while drawing in 3d model how can I fix it

---

<div class="post-metadata">

**Author:** ![mjurczyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mjurczyk/32/10995_2.png) [@mjurczyk](https://discourse.threejs.org/u/mjurczyk)\
**Post date:** [February 6, 2024, 9:09pm UTC](https://discourse.threejs.org/t/line-width-is-not-working/61168/2 "2024-02-06T21:09:44Z")

</div>

See [note in the docs](https://threejs.org/docs/index.html?q=line#api/en/materials/LineBasicMaterial.linewidth). The solution would usually be to use either a polyline or MeshBasicMaterial-shaded cylinder instead of a line.

---

<div class="post-metadata">

**Author:** ![Rikin\_18\_17\_02](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/rikin_18_17_02/32/39875_2.png) [@Rikin\_18\_17\_02](https://discourse.threejs.org/u/Rikin_18_17_02)\
**Post date:** [February 7, 2024, 1:23am UTC](https://discourse.threejs.org/t/line-width-is-not-working/61168/3 "2024-02-07T01:23:12Z")

</div>

Yes I have used and it is fixed

Thanks…
