@d-healey said in Reset sliders and knobs:
You can use the .setValue() function to set the value of a control. And you can use .changed() to trigger its callback after you've set its value. There is also the .get() function which can be used to retrieve a control's property, such as its defaultValue.
Put this all together and you get something like:
local defaultValue = myControl.get("defaultValue");
myControl.setValue(defaultValue);
myControl.changed();
You will probably want to put this inside an inline function. And you'll want to use a loop to go over all of your controls in one go so you don't need to write it out one by one.
That's fantastic David and was exactly what I was looking for - thankyou.
I will look at implementing this into my project this weekend
Thanks again