setProp() would be cool.
As of 1.9.4 you can use the VAR{}
syntax to allow modifying a property from a script. For example you'd write VAR{foo, 1}
in a property ("foo", is the name of the property, "1" is the default value for that block), and from any script: setVar('widget_id', 'foo', 2)
console.log(this) //prints "null"
A short explanation: Xy pad to knob filtered by a dropdown - #7 by jean-emmanuel
console.log(@{this}) //prints nothing!
Don't use @{} in scripts, use get() or getProp()