# How to select parts of Points with SelectionBox

**URL:** <https://discourse.threejs.org/t/how-to-select-parts-of-points-with-selectionbox/26689>\
**Category:** Questions\
**Created:** [May 28, 2021, 7:09am UTC](https://discourse.threejs.org/t/how-to-select-parts-of-points-with-selectionbox/26689 "2021-05-28T07:09:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blazar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/blazar/32/18555_2.png) [@Blazar](https://discourse.threejs.org/u/Blazar)\
**Post date:** [May 28, 2021, 7:09am UTC](https://discourse.threejs.org/t/how-to-select-parts-of-points-with-selectionbox/26689/1 "2021-05-28T07:09:03Z")

</div>

I use ShaderMaterial and integrate multiple points into Three.Points, and Raycaster works well to pick single point of Three.Points. But now I need to select all points in a rectangle on the screen, which reminds me of the SelectionBox. But SelectionBox regards all points in Three.Points as one, and it works differently from Raycaster. So how can I implement the above effect, without rendering every point on my screen as a Three.Points

---

<div class="post-metadata">

**Author:** ![StreXiX](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/strexix/32/41285_2.png) [@StreXiX](https://discourse.threejs.org/u/StreXiX)\
**Post date:** [November 19, 2021, 9:24am UTC](https://discourse.threejs.org/t/how-to-select-parts-of-points-with-selectionbox/26689/2 "2021-11-19T09:24:44Z")

</div>

Did you find any solution for this? Currently I have the same problem 🙂
