Copy link to clipboard
Copied
Hi there.
I am a beginner.
I have created an Adobe after effects and want to use if/Else in the expression (time),
but I don't know the animation, is that ok?
I haven't set it up yet, but let's say it's 00:00-00:10
var normal=time*(-180);
var slow=time*(-60);
if(normal<10){
normal
} else {
slow
}
Of course, I get an error.
Can you help me?
Thank you!
Im not sure what you are trying to achive here, nor on what property you're applying the expression, but maybe you're lokking for something like this?
if (time < 10) {
normal;
} else {
slow;
}
Copy link to clipboard
Copied
Im not sure what you are trying to achive here, nor on what property you're applying the expression, but maybe you're lokking for something like this?
if (time < 10) {
normal;
} else {
slow;
}
Copy link to clipboard
Copied
It's working. Thank you very much.