GSAP MotionPath: How to keep object aligned with path during d attribute mutation

https://codepen.io/fluffybacon-steam/pen/VYYNBaG I am trying to get the hang of the MotionPathPlugin from Greensock and having some trouble. I have an svg who's path goes from relatively flat to highly curved, and I want my object (.social-link) to stay glued to the path through the mutation. However the object seems to lose reference when the path animates/mutates. What am I doing wrong?
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?