Mailing List AE-List@media-motion.tv — Message #63936
From:
scott.aelist <AE-List@media-motion.tv>
Sender:
<hedczech@gmail.com>
Subject:
Re: [AE] Expression to follow shape layers?
Date:
Tue, 10 Apr 2018 10:59:28 -0700
To:
After Effects Mail List <AE-List@media-motion.tv>
Has anyone done some in-depth tutorials on this new feature? I'd like to use it but I don't understand it very well. I've used the little script AE provides but it's hundreds of lines long.Â
If you apply this expression to a layer's position, it would attach the position to the first path point in a shape layer called "Shape Layer 1" with "Path 1":
Basically you can just apply a blank expression to the value you want to connect to, then pickwhip to the shape layer's path, then add ".points()[0]" -- where you'd replace the "0" with the number of the path point you want to connect to. It's probably helpful to zero out the shape layer's position and move the path from there.