Jump to content
Search Community

Animation direction (from right to left)

Kubakh test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello! Sorry for my english (from Russia).

 

So i got this svg circles to draw out from left to right using this code:

 

TweenMax.staggerFrom("svg circle", 1, {scale:0, transformOrigin:"center center"},0.1)

 

How do i make the line so it will draw from right to left ?

Link to comment
Share on other sites

2 minutes ago, GreenSock said:

Hm, it doesn't look like that code would draw anything, but maybe you just wanted to reverse the order in which the circles animate their scale? If so, try setting the stagger value to -0.1 instead of 0.1. Does that help?

Yes! Thank you!! :)

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