Change Color to an Object in VR

I’m using the “Pick up” cube from the VR template.
I deleted the physics, so when you try to “grab” the cube you change the material of “26991” that is a pillow.

Now I want to create 2 more cubes with different materials to change “26991”. How can I do this? I already tried using multigate or sequence but all the cubes do the same.

I would really appreciate any help.
Thank you