Knob color on value chnage

Hi there,

And thanks for the huge work on o-s-c. It's just an amazing tool !

Im sure it's a newbie question but can't figure it out :
I have plenty of knobs in my project, each driven by a knob on my midi controller. I'd like each of them to blink, or change color when an interaction occurs, so I can see which knob i'm playing with on the screen.

I tried putting this in the "onValue" field but nothing happens when I turn my knob :

setVar("this", "colorWidget", "#f28018")

Can somebody help please ... ?
Thanks in advance.

For this code to work you'd need to write something like this in the widget's colorWidget property:

VAR{colorWidget, auto}

It creates a custom variable named "colorWidget" with default value "auto" that updates when calling setVar().

Thank you so much @jean-emmanuel . That is exactly what I needed!