If my goal is to only change the data via a specific path (say ‘colors’ in the variable that I define, how would I do that in this formula? wwLib.wwVariable.updateValue(varId, value)
What i’m looking for is essentially this, but I need the variable to be dynamic
assuming your variable is an object and the dynamic property is top level: updateValue(uid,{...variableValue,[dynamicProperty]:newValue})
you can modify it to a deeper nested property. with a some more effort you can recreate a function to update an arbitrary level of nesting desined from a string path