Pad XY how to send separated values to two widget variables?


I have a widget pad XY and in the scritpt field onValue i put this code:

var x = @{this.value}[0]
set("@{liveTranslation_X}"", x)

to set x value to variable widget liveTranslation_X, but this is not working... someone have had done this?


Advanced syntaxes should be avoided in scripting properties, try this instead

var x = value[0]
set('liveTranslation_X', x)

it works, thank you much for the support!