I’m iterating through objects, and I need to set their instance variable called “ColorPhase” to zero. I saw someone suggest “Obj.Variable(VarName)”, but it’s not working for me. I’m currently using the following:
sprockets[i].Variable(ColorPhase) = 0;
I checked the documentation and couldn’t find anything about accessing instance variables from JavaScript.
I have that set to trigger when a button is clicked, but it’s not taking effect. I have other events that trigger when that button is clicked, it’s just this one thing that won’t work. Is there something I’m missing about instance variables?
I tried using events. I tried over and over, different places, everything I can think of, and I couldn’t get it to work with this extension. The Recolorizer extension is the only time I’ve had this problem.