Jump to content
Search Community

start tween as soon it finishes/

Lacika1981 test
Moderator Tag

Recommended Posts

Hi,

 

Please see my pen on codepen.

I try to find out with not much luck how to start animate again as the first timeline tween finishes.

The animation last for 10s and the secong tween starts at 5s just at the middle. However as the first tween finishes it does not repeats again until the second tween finishes.

 

I cannot find out how to solve this.

See the Pen WNNBaMw by Lacika1981 (@Lacika1981) on CodePen

Link to comment
Share on other sites

13 minutes ago, mikel said:

Why does p.start not start from the original position?

I assume you mean p.first?  I'm not clear on what you mean by "not start from the original position".  Are you expecting it to behave as if it had position: absolute like in this demo?

See the Pen GRgKZqx?editors=1000 by GreenSock (@GreenSock) 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...