Remove object from three js scene by selecting it

But is the question about making a choice or how to implement either of these options :thinking: ?

To remove objects you can use remove method of the parent (ie. selectedModel.parent.remove(selectedModel)).
To make groups of selected objects you can simply use an array - materials aren’t involved in any way, unless you’d also like to highlight selected objects.

1 Like