Hey guys! I'm a newbie in the world of expressions and I'm finding them very useful in terms of rigging a 2D character. Basically I've been trying too figure out a way to control the ON/OFF state of a checkbox depending on the value of a slider. For example: if the value is specifically 0, the checkbox state is ON. With every other value, te state is OFF. I've gathered a few codes I found and made this sort of Frankenstein code, but it doesn't work. Can you give me any help?
It's the head of a character, the slider controls 3 different positions and there are 3 different checkboxes that control 3 separate layers of eyebrows. The idea is to link each head position with the matching eyebrow layer visibility.