Need a simple variable explanation or example

I'm trying to do something that should be very easy but I can't get my head around it. I have a panel with 6x widgets in it. I want to set a variable in the panel and have the widgets in the panel use that variable in an OSC message address.

The address would be '/ch/xx/mix/fader' where 'xx' would be a 2 char string from the variable. It seems like the panel would be the parent so @{parent.variables.xx} would do it but I don't know how to set 'xx' in the panel.

Writing this in the panel's variable property

{
  "xx": "foo"
}

would make it possible to write

/ch/@{parent.variables.xx}/fader

in its children's properties (and the result would be /ch/foo/fader here)

1 Like

Thank you! That was exactly what I needed to understand.