-
Checkbox fixed text leading
Hi There,
I’m trying to add a checkbox control to a simple expression I made to control the leading and scaling of a text. The number value needs to be 77.7 or 90 (value at the end of the expression, (“Slider”)/100*77.7)) so the leading can only be either 77.7 or 90. Is this an easy fix for the for the gods of the AE Expression pantheon? 😊
text.sourceText.style
.setFontSize(thisComp.layer("Expression_Ctrls").effect("SLIDER-3_REGELS")("Slider"))
.setLeading(thisComp.layer("Expression_Ctrls").effect("SLIDER-3_REGELS")("Slider")/100*77.7)
.setAllCaps(true);