Changing multi xy values through scripts

I have a multi xy widget that I'm trying to update the values of using a script in another widget. I'm able to read the values using #{@{widgetId}[x]} but I've been unable to write to the widget using various combinations of set/setVar.

The multixy expects an array of values: [x1, y1, x2, y2, ...]. For example:

set('multixy_id', [0, 0, 0.5, 0.5])

Thanks for the help!