I have a roboter arm with six different parts. The model is a glb file. The names of the arms are K1 to K6.
With the help of this forum I succesfully implemented a raycaster to get the name of each part when clicking on it.
My Problem is that i want to highlight the part of the model which i last clicked but the effect gets applied to the whole model. What do i have to do to apply it only to K1 (in this case)