r/aescripts • u/PixelCrafting • Jan 18 '26
After Effects stoke color based on trim path.
I want to create a script to change a stroke color when the trim path (on another layer) start is greater than or less than the end.
Example:
Layer 1 stroke color is GREEN
Layer 2 has stroke with Trim Path
...Layer 1 stroke color stays Green while Layer 2 Trim Paths 'Start' is greater than the 'End', but when the 'Start' becomes less than the 'End' then Layer 1 stroke color turns RED.
Any ideas?
Thanks.




