xw:create-slider "s" [ xw:set-background red ]
xw:ask xw:sliders [ show xw:background = red ] ; false
xw:ask xw:sliders [ show xw:background = [255 0 0] ] ; true
NetLogo itself suffers from the same problem when colors are stored as lists, but that doesn't happen too often. Currently, in the extension, all colors are stored as lists, so that makes it a bit more annoying.
Maybe there is an easy way around this, but in any case, it should at least be documented somewhere.
NetLogo itself suffers from the same problem when colors are stored as lists, but that doesn't happen too often. Currently, in the extension, all colors are stored as lists, so that makes it a bit more annoying.
Maybe there is an easy way around this, but in any case, it should at least be documented somewhere.