# Is there a way to render some segments of LineSegmentsGeometry instead of all the segments?

**URL:** <https://discourse.threejs.org/t/is-there-a-way-to-render-some-segments-of-linesegmentsgeometry-instead-of-all-the-segments/49722>\
**Category:** Questions\
**Tags:** instancedbuffergeometry\
**Created:** [March 28, 2023, 11:22pm UTC](https://discourse.threejs.org/t/is-there-a-way-to-render-some-segments-of-linesegmentsgeometry-instead-of-all-the-segments/49722 "2023-03-28T23:22:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeroFire](https://avatars.discourse-cdn.com/v4/letter/z/e19b73/32.png) [@zeroFire](https://discourse.threejs.org/u/zeroFire)\
**Post date:** [March 28, 2023, 11:22pm UTC](https://discourse.threejs.org/t/is-there-a-way-to-render-some-segments-of-linesegmentsgeometry-instead-of-all-the-segments/49722/1 "2023-03-28T23:22:50Z")

</div>

I have a Line2 object, using LineSegmentsGeometry. without changing the buffers, can i render a range of segments, instead of all the segments?

…/examples/jsm/lines/LineSegmentsGeometry.js
