My aim is to make the elements in this playground change to the greenMat colour on click and then to revert to the original material on another click of the element. At the moment they change colour if you click and click off. Elements disappear if clicked twice at the moment which I don’t want. Any help is much appreciated.
I’ve disabled the ground so it can’t change colour.