Dynamically changing widget colours

I’m trying to make a dot matrix display using square widgets using 2 different hex values for on and off using Text->Colour->Appearance Changer(fill colour)->Square. If I switch the routing between the two, nothing happens. If I connect the hex directly to the Colour, nothing happens.

What I expect to happen is that any hex connected to the Colour node will change the colour, but it only does anything if I change the hex value in the text box, which is not what I want. I’ve tried using ints into the rgb ports, but it doesn’t work either. It will only respond to changes in values, but constant values don’t fire an event.

Does anyone have any workarounds for this?

Event nodes can be used to push constant values forward. There may be other ways but this type of setup has been working for me.

You where faster then me :rofl:

PS: @Nick_Shaw Welcome to the forum!

Adding IsHex is a nice touch.

Thanks for the help. I’ve managed to get my first column of pixels working now I’ve got my head round the Data Matrix :grinning_face: