Copy link to clipboard
Copied
Hi everyone.
I just recently upgraded my After Effects to 2020 version but now it seems like that wasn't good idea at all.
First of all I've got this weird and REALLY annoying problem with expression slider control.
Can anyone explain why this expression gets disabled (screenshot attached)?
Though I'm not an expression expert but I've used slider control hundreds of times and never had a single problem. So frustrating.
Thanks a lot already.
Reimo.
Copy link to clipboard
Copied
Just in case here's bigger screenshot - https://community.adobe.com/t5/image/serverpage/image-id/27368i008B44851F64DFAC/image-dimensions/250...
Copy link to clipboard
Copied
The error is reported to be in line 2, but your screenshot just shows one line and there is no semicolon at the end of the line.
To diagnose the problem we need to see the expression.
Copy link to clipboard
Copied
Thanks a lot for your quick response Rick.
Well I think that this IS the actual problem. After Effects thinks that there's more than 1 line, but there isn't really. Or am I missing something here. That's the whole expression there.
I added another screenshot.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
You are missing the final parentheses.
wiggle(5, 20) will work. If you replace the 20 with a slider you would write this:
wiggle(5, thisComp.layer("Wiggle Slider").effect("Slider Control")("Slider"))
Your workflow, the way you are writing the expression, and your naming structure are pretty inefficient. I'm not sure what you are trying to do but it is usually a better idea to rename the Slider Control and declare a variable. Tell us exactly what you are trying to accomplish and maybe we can point you to a more efficient solution.
Copy link to clipboard
Copied
Just do what the error message says and add a ) at the end. Your wiggle() isn't closed yet.
Also, always end a command with ;
*Martin
Copy link to clipboard
Copied
Please , im facing the same problem could you pls tell me how to solve
Copy link to clipboard
Copied
We need a screenshot showing the modified properties of the problem layer and a copy of the expression to figure out what is going on.
* The "Drag & Drop here..." area works, but it is a pain for the forum users to access the photos. Please do not use it to share images. You can use the toolbar, drag your pictures to the reply field, or even copy and paste the file directly in the reply field, then size them up so we can easily see them.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more