Highlighted

How can I invert a scale by using Checkbox Control?

New Here ,
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? 🙂

Probably just missing square brackets:

 

if(thisComp.layer("R LEG").effect("Checkbox Control")("Checkbox")>0) {[120,120]} else {[-120,120]}

 

Dan

Topics

Expressions

Views

36

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How can I invert a scale by using Checkbox Control?

New Here ,
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? 🙂

Probably just missing square brackets:

 

if(thisComp.layer("R LEG").effect("Checkbox Control")("Checkbox")>0) {[120,120]} else {[-120,120]}

 

Dan

Topics

Expressions

Views

37

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Guide ,
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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Aug 03, 2020

Copy link to clipboard

Copied

Dan, thank you so much!!

Fixed. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...