Switch text on button on off

I just discovered OSC, was working with Lemur, I’m copying a patch that I did for a first exercise.
and have fews questions.
I wish to change the text button (on off) or (free sync) but I didn’t find a way to do this.
Pretty sure it’s in the “label” option but did not find how to ?


You can use advanced syntaxes to define the label property depending on the widget’s value, for example:

#{@{this} == 1 ? "on" : "off"}

Will return “on” if the button’s value is 1, “off” otherwise.

1 Like

thank you !!
I’m totally to Java I need some few examples to dive in !