I have a few buttons that have to toggle bits in an integer.
By scripying and some google search I was able to make a script where I can toggle specific bits from an integer tag.
Now when the specific bit is TRUE i want the corresponding button to turn green.
When I go to the properties of the button I can change the background but the problem is that the tag is an integer. Is there a way to select a specific bit maybe through “indirect tag”? Or an expression?
So my question in short; What’s the best way to change a background colour of a button where the colour has to change according to a specific bit of an integer tag.
Thanks in advance!