artyor Posted March 4, 2021 Share Posted March 4, 2021 Hi all, I want to move .box by 100px for each repeat, but the tween always restarts. There is commented version which I adapted from other codepen Zach helped me with, but I don't think that's the right way of doing it See the Pen oNYMwzV by artyor (@artyor) on CodePen Link to comment Share on other sites More sharing options...
Solution artyor Posted March 4, 2021 Author Solution Share Posted March 4, 2021 I found the solution, sorry for spaming to forum: repeat: 5, repeatRefresh: true Did the job (Still would be cool if someone more experienced could confirm this) Link to comment Share on other sites More sharing options...
ZachSaucier Posted March 4, 2021 Share Posted March 4, 2021 5 minutes ago, artyor said: would be cool if someone more experienced could confirm this That's a great way to do it. Good job! 1 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