How to play a new animation after the running action is done using itween ?

For example,

I roate a cube by call this:
iTween.RotateBy(cube,Vector3.up,5);
wait for 3 second, than I call
iTween.RotateBy(cube,Vector3.left,5);

I want the cube first complete the ‘Vector3.up’ animation, than ‘Vector3.left’, how can I do that ?

Sorry for my poor english.
Thanks.

Use iTween’s delay property:

iTween.RotateBy(cube,Vector3.up,5);
iTween.RotateBy(cube,iTween.Hash(“amount”, Vector3.left, “time”, 5, “delay”, 5));