Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
bdrtsky

How to drawSVG from other side?

Recommended Posts

Hello again everyone on this great forum.

 

I started to play with DrawSVG and have a question. I bet it was asked thousand times before, I read some answers, still confused about the sythax and principle of work.

 

 

 

Here, checkbox animated from left to right and then from right to left. But how to make second (exit animation) animation also move from left to right? 

See the Pen ZZxVgx by bdrtsky (@bdrtsky) on CodePen

Link to comment
Share on other sites

Is this what you need it to do?

 

See the Pen wZmNGJ by PointC (@PointC) on CodePen

 

Happy tweening.

:)

 

  • Like 3
Link to comment
Share on other sites

@PointC yes! Awesome! I tried a few values, still don't really following the logic, need to reread the Docs once again. Thanks!

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.
×