I want to modify the "off" state color for some switches within 100-switches object.
If I use this code to change switch's #7 color:
Code: Select all
setattribute(Switches[7], 'colors',100);
This code change the color or all the switches, not just the color of a single one:
Code: Select all
setattribute(Switches, 'colors',100)[7];
Thank you in advance.