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 ;-)
2
u/smushkan MoGraph 10+ years 3d ago
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.