0
New Here
,
/t5/after-effects-discussions/how-can-i-invert-a-scale-by-using-checkbox-control/td-p/11333437
Aug 03, 2020
Aug 03, 2020
Copy link to clipboard
Copied
Hey guys,
I'm trying to invert a scale using a Checkbox Control and Expressions and I'm not getting it done. Check the expression below:
if(thisComp.layer("R LEG").effect("Checkbox Control")("Checkbox")>0) {120,120} else {-120,120}
It was working in After Effects CC 2018, I'm using CC 2020 today.
Someone can help me? 🙂
TOPICS
Expressions
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Community Expert
,
Aug 03, 2020
Aug 03, 2020
Probably just missing square brackets:
if(thisComp.layer("R LEG").effect("Checkbox Control")("Checkbox")>0) {[120,120]} else {[-120,120]}
Dan
Community Expert
,
/t5/after-effects-discussions/how-can-i-invert-a-scale-by-using-checkbox-control/m-p/11333554#M118603
Aug 03, 2020
Aug 03, 2020
Copy link to clipboard
Copied
Probably just missing square brackets:
if(thisComp.layer("R LEG").effect("Checkbox Control")("Checkbox")>0) {[120,120]} else {[-120,120]}
Dan
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
EuDanielCS
AUTHOR
New Here
,
LATEST
/t5/after-effects-discussions/how-can-i-invert-a-scale-by-using-checkbox-control/m-p/11333591#M118605
Aug 03, 2020
Aug 03, 2020
Copy link to clipboard
Copied
Dan, thank you so much!!
Fixed.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

