Jump to content
Search Community

Yoyo in a tween in a timeline

GusAugust test
Moderator Tag

Recommended Posts

This works properly - a stand-alone tween:

TweenMax.to(rect, 2, {x:200, repeat:1, yoyo:true});

This does not - the same tween in a timeline - the initial translation works, but no repeat:

tl = new TimeLineMax();
tl.to(rect, 2, {x:200, repeat:1, yoyo:true})

I know that the timeline can be set to repeat and yoyo, but I just want a single tween in the timeline to repeat and yoyo.

 

Thanks, Gus

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