Click on a button to highlight a set of box instances.


I'm trying to make a div button which users can click on it and highlight a set of boxes on the globe(grouped in a array of getPrimitives()._primitives)

The highlight consist two steps, first it outlines the box and second, it brightens the ambient color (currently I still couldn't put a material on the cube ).

If anyone can help me that would be excellent.

Thank you,