How to set up the material for a single object in ISM

Sorry for not explaining clearly. My end goal is as follows, for example, there are eighty spheres in my picture. When I click on one of them, its color turns red, which means I hope to be able to manipulate each sphere individually and set its material.
I will try the method you mentioned.Thanks!