input array directly into jsui object

Thijs Pothoven's icon

Does anyone know how to use new array objects in conjunction with jsui?

I have an array with 4 floats for a color & I have a set_color function inside the jsui object which expects an array of 4 floats, but I can't seem to get it to work directly...?

I know the workaround for lists, but I thought that with these new objects the workaround wouldn't be necessary anymore.