Jump to content
Search Community

Delay on timeline

jeffbkk76 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

[js][/js]Hello everyone ,
 
I'm new to this forum and also new to javascript in general. 

 

I got a problem to set up a delay in my timeline.
 

I got a series of tween within it witch basically animate x axis and width of a line and it's mask  

 

I made it infinite by using restart() when complete. 

 

the delay is set to 0 at first but i want it to be changed to 2 after the first iteration.

 

And i can't figure it out how.

 

The pen can be seen here: 

 

 

Can someone point out my mistake ? 

 

Cheers.

 

See the Pen qqePaO?editors=0000 by jeffbkk76 (@jeffbkk76) on CodePen

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