i’m looking for a way to select model part of scene by clicking and highlight and after that i want to hide the specific part by clicking a button. I saw some examples in documentation that works fine with materials hove or, but i can’t find the same with model part … I tried to mix some code, and i’m not too far.
here the link to my test: https://codepen.io/matt8629/pen/mdWEOKE?editors=1111
I don’t why half of the time i pick the model the console log type “undefined” for ID and name…
is there a way to pick and select the name and id from clicked part?
i saw that there is the list (getNodeMap) but there are a lot of parts, it’s not good for me