How to include HOTween Tween's loops in a Sequence?

I’ve recently used HOTween in a project. It works out really well. But I’ve lost hours to find the way to include tweens’ loops in a sequence. For example I have tween1 which has 10 loops in it, tween2 which has 5 loops in it. Then I compose a sequence with those tweens. Turns out it plays 2 times tween1 (???) and then 1 time tween2 when tween1 is finish it’s first loop. Is it the way it works or I doing something wrong?

Sequence seq = new Sequence(new SequenceParms());
seq.Append(HOTween.To(transform, 1f, new TweenParms().Prop("position", new Vector3(2f, 2f, 2f)).Loops(10, LoopType.Yoyo)));
seq.Append(HOTween.To(transform, 1f, new TweenParms().Prop("localScale", new Vector3(2f, 2f, 2f)).Loops(5, LoopType.Yoyo)));
seq.Play();

P/S: Sorry for my English

Hi huylenq, and sorry for the late answer (I usually check only the “official HOTween thread” - mostly because the new UDN search feature is kind of broken).

That said, you can’t use loops with Tweeners that are nested inside a Sequence. Or better: you can, but the length of the whole sequence will not take them into account when calculating total sequence duration and playhead position.