# How do I resize Line2?

**URL:** <https://discourse.threejs.org/t/how-do-i-resize-line2/54648>\
**Category:** Questions\
**Tags:** line2, geometry\
**Created:** [August 4, 2023, 1:43pm UTC](https://discourse.threejs.org/t/how-do-i-resize-line2/54648 "2023-08-04T13:43:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![1\_1](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/1_1/32/34094_2.png) [@1\_1](https://discourse.threejs.org/u/1_1)\
**Post date:** [August 4, 2023, 1:43pm UTC](https://discourse.threejs.org/t/how-do-i-resize-line2/54648/1 "2023-08-04T13:43:54Z")

</div>

I figured out that the geometry of Line2 doesn’t scale with position. Even if Position is adjusted, instanceStart and instanceEnd are not adjusted.

How do I resize Line2?

Anyone know how to do this?

---

<div class="post-metadata">

**Author:** ![PavelBoytchev](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/pavelboytchev/32/38639_2.png) [@PavelBoytchev](https://discourse.threejs.org/u/PavelBoytchev)\
**Post date:** [August 4, 2023, 4:12pm UTC](https://discourse.threejs.org/t/how-do-i-resize-line2/54648/2 "2023-08-04T16:12:21Z")

</div>

If by “resize” you mean to change the thickness of a line in respect to the distance, see the official [Fat lines](https://threejs.org/examples/?q=line#webgl_lines_fat) example and its `[world units]` option.

If by “resize” you mean to change the position of start/end points, then use method `.setPositions`.
