-
Limit wiggle on offset property for Trim Paths
I have a shape layer with a simple line and trim paths applied to it. The end of the trim paths is set to 0.2% which gives me pretty much a dot. Now, If I apply a wiggle expression to the offset of the trim paths the dot will of course wiggle along this “invisible” line, but I want to limit the movement between 12% and 300% of the Offset property so that the dot doesn’t disappear at the bottom and appear on top for example. How can I do this?
I know I could easily do this with a normal layer with a mask and a Clamp applied to the wiggle for the position property, but doing this in a shape layer allows me to duplicate the shape a bunch of times within the same layer, instead of having multiple layers. Plus I can change the shape of the path and have the dot still wiggle along this path.
Here’s a screenshot of the property
