Andy777 Posted October 10, 2022 Share Posted October 10, 2022 Hi, How can i scale to 1 each words when it reach scale 2 instead of waiting the scaling of all words to be scaled to 2 then to 1? Thanks in advance! See the Pen XWqyVYo by Andy199807 (@Andy199807) on CodePen Link to comment Share on other sites More sharing options...
Rodrigo Posted October 10, 2022 Share Posted October 10, 2022 Hi, You could use a from() instance in order to go from any scale you want to the natural value the elements have when the GSAP instance is created. https://greensock.com/docs/v3/GSAP/gsap.from() Hopefully this works the way you intend: See the Pen dyeQdLZ by GreenSock (@GreenSock) on CodePen Let us know if you have any other question. Happy Tweening! Link to comment Share on other sites More sharing options...
Andy777 Posted October 10, 2022 Author Share Posted October 10, 2022 I found the solution @Rodrigo using the stagger object with repeat: -1 to avoid waiting all chars finish animation. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now