So what I want to do is morph my svg so it produces an animation, but when i use morphSVG function in TweenMax, it doesn't work. When I try other simple animations, let's say for instance x:"+=10", y:"+=40" (moving up and down), it works completely fine.
React using TweenMax cannot morph my svg (Using morphSVG)
in GSAP
Posted
So what I want to do is morph my svg so it produces an animation, but when i use morphSVG function in TweenMax, it doesn't work. When I try other simple animations, let's say for instance x:"+=10", y:"+=40" (moving up and down), it works completely fine.
Animation code:
SVG:
If anyone knows how to solve this problem / give alternative with morphSVG it would be great. Thanks in advance