ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

if/else Checkbox to switch between color controls

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


jano sempere
if/else Checkbox to switch between color controls
on Sep 3, 2019 at 8:03:47 am

I have path layers and need to switch between two colors for BG white and BG black.
Want to link to checkbox to take ease control but can't find right expression.








Sorry for bad embedings, don't know how to.
Thanks.

ch = thisComp.layer("color Control").effect("Logo versión")("Checkbox");
c1= thisComp.layer("color Control").effect("Color Control")("Color");
c2=thisComp.layer("color Control").effect("Color Control 2")("Color");
if (ch== 0) [c1]
else [c2]


Motiongrapher at cinestorm.es


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]