how could I solve this problem
I don’t think there’s a way of doing this at present, as this will always be interpreted as the variable “xn”.
What are you ultimately trying to achieve? There may be an alternative way of doing this.
I am trying to be able to reset multiple variables with one button and one slider
If you’re not talking a huge amount of variables, you can use a conditional action, in the form:
{n=1:x1->1,n=2:x2->1,n=3:x3->1,.......}
how do I do it?
Don’t put the dots in, you have to specify each condition explicitly.
thank you it works !