Jump to content
Search Community

New to gsap Issue with draw svg

17604_1494126626 test
Moderator Tag

Recommended Posts

Welcome to the forum and thanks for being a Club member. 🎉

 

When you use a .from() tween, you're saying animate to the current value and start from some other value. In this case, you're saying animate from 100% to the current value which is already 100%. So it looks like nothing happened. You'll want to tween from 0 like this.

 

gsap.from(".PVWave", { duration: 3, drawSVG: 0 });

Hopefully that makes sense. Happy tweening.

:)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...