ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: 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


Dan Ebberts
Re: if/else Checkbox to switch between color controls
on Sep 3, 2019 at 11:43:55 am

For one thing, you need to remove the square brackets in the last two lines, like this:

if (ch== 0) c1
else c2

or even better like this:

ch ? c2 : c1

but in your question you mention "ease" which makes me think you're after something else...


Dan



Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]