# Why was the example of the usage of SelectionBox of InstancedMesh deleted?

**URL:** <https://discourse.threejs.org/t/why-was-the-example-of-the-usage-of-selectionbox-of-instancedmesh-deleted/85679>\
**Category:** Discussion\
**Tags:** box-helper\
**Created:** [July 31, 2025, 3:32am UTC](https://discourse.threejs.org/t/why-was-the-example-of-the-usage-of-selectionbox-of-instancedmesh-deleted/85679 "2025-07-31T03:32:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wallance\_Lee](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/wallance_lee/32/62007_2.png) [@Wallance\_Lee](https://discourse.threejs.org/u/Wallance_Lee)\
**Post date:** [July 31, 2025, 3:32am UTC](https://discourse.threejs.org/t/why-was-the-example-of-the-usage-of-selectionbox-of-instancedmesh-deleted/85679/1 "2025-07-31T03:32:09Z")

</div>

[add an example for instancedmesh selection by chiguaboy · Pull Request #22976 · mrdoob/three.js · GitHub](https://github.com/mrdoob/three.js/pull/22976/commits/7911d1d8e6211baaf27dfe3348fb6553e719d929) Today, I can’t see this example but in SelectionBox I can still confirm the SelectionBox.instances property. I want to confirm whether the property can be used in future or do we perfer this usage ?

---

<div class="post-metadata">

**Author:** ![byDezign](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/bydezign/32/24605_2.png) [@byDezign](https://discourse.threejs.org/u/byDezign)\
**Post date:** [July 31, 2025, 5:35am UTC](https://discourse.threejs.org/t/why-was-the-example-of-the-usage-of-selectionbox-of-instancedmesh-deleted/85679/2 "2025-07-31T05:35:29Z")

</div>

It was never merged. Someone tried to add it but they said it wasn’t needed. It’s in the discussion of the pr you shared

---

<div class="post-metadata">

**Author:** ![Wallance\_Lee](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/wallance_lee/32/62007_2.png) [@Wallance\_Lee](https://discourse.threejs.org/u/Wallance_Lee)\
**Post date:** [July 31, 2025, 6:01am UTC](https://discourse.threejs.org/t/why-was-the-example-of-the-usage-of-selectionbox-of-instancedmesh-deleted/85679/3 "2025-07-31T06:01:04Z")

</div>

Got it. I will try.

---

<div class="post-metadata">

**Author:** ![seanwasere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/seanwasere/32/20864_2.png) [@seanwasere](https://discourse.threejs.org/u/seanwasere)\
**Post date:** [July 31, 2025, 9:17am UTC](https://discourse.threejs.org/t/why-was-the-example-of-the-usage-of-selectionbox-of-instancedmesh-deleted/85679/4 "2025-07-31T09:17:12Z")

</div>

heres a working editable version of it updated for Three r178

> **[three.js webgl - box selection](https://editor.sbcode.net/c6aeadc797532d6e0f71624ce996327586298a16)**
>
> https://editor.sbcode.net/c6aeadc797532d6e0f71624ce996327586298a16

Updated to use importmaps,

Updated to use `BoxGeometry` instead of `BoxBufferGeometry`

SelectionHelper constructor now requires 2 attttributes instead of 3.
