Copy link to clipboard
Copied
when I put in "position" this expression if(opacity == 100) {w=wiggle(150,8);}
after effects find an error and tell me to put a number but not a Layer.
Can you help me please?
thanks
The expression needs to also generate a result when the opacity isn't 100, like this maybe:
if (transform.opacity == 100) {
wiggle(150,8);
}else{
value;
}
Dan
Copy link to clipboard
Copied
Works fine for me.
Try this:
if(transform.opacity == 100) {wiggle(150,8);}
can you post a screenshot of the error?
Copy link to clipboard
Copied

with transform.opacity is the same
thanks!
Copy link to clipboard
Copied
The expression needs to also generate a result when the opacity isn't 100, like this maybe:
if (transform.opacity == 100) {
wiggle(150,8);
}else{
value;
}
Dan
Copy link to clipboard
Copied
thanks!!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more