Select multiple object with right pointer select drag

I was able to implement single picking but now I want to pick several objects in the scene with right pointer drag from the selection of meshes in scene.

https://playground.babylonjs.com/#I3CU02#3

Can you please help me achieve this?

1 Like

Do you mean a selection with drawing a rectangle over objects?

Selection | Babylon.js Playground (babylonjs-playground.com)

Marquee Selection | Babylon.js Playground (babylonjs.com)

5 Likes

Another example with HTML div element - https://playground.babylonjs.com/#2SA7J8#7

4 Likes

Yes. Thank you so much