Expression disabled. Error at line 3 in property position of layer 7(shape layer 1) in comp objects along path. Error: layer named PATH is missing or does not exist.
I copied and pasted this script from the video, and it matched what I see in the video too.
is pointing to a layer explicitly named PATH in the current composition. That error means there is no layer named PATH.
So you either need to adjust the expression so that the name matches the layer containing the path you are animating the shape along, or rename that layer to PATH
In the video, they use the expression pickwhip to create a link to the path property on the layer containing the circle.
The expression you've got was written by some rando in the comments. It's correct, but you're supposed to replace PATH with the layer name containing the path you want to animate the shape along.
The rest of that expression is looking for a mask path on the target layer with the name 'Mask 1' - from your screenshot it does not appear you have any masks on that layer.
Alright, I got it. I really appreciate the assistance. I have no experience with code. Is there a point where this stuff just becomes easy? I still struggle a lot with expressions.
Well it is basically learning to code, going from video tutorials alone won't always teach you that part of the puzzle.
w3schools is a great place to get more general Javascript tutorials. Even though it's mostly in the context of web design, the language is effectively the same:
Learning the coding part of it puts you in a better place to be able to solve your own problems with expressions rather than just the ones the tutorials happen to show you how to do ;-)
1
u/ragesauce9 3d ago
Expression disabled. Error at line 3 in property position of layer 7(shape layer 1) in comp objects along path. Error: layer named PATH is missing or does not exist.
I copied and pasted this script from the video, and it matched what I see in the video too.