Condition that depends on widget style

Amir shared this question 7 years ago
Answered

Is it possible to add condition that depends on a widget style ?


(for example: On Click on a rectangle I would like to change its background to red if it was yellow, and change it to yellow if it was red.

Comments (2)

photo
1

I'm afraid I have to say there is no option to make such a condition. But you can use a variable to store a text describing the color of the rectangle and then build the condition with that variable.

photo
1

Any update on this? I want to do the same.