var myTween1 = new TweenMax.to('.box1', 2, { width:70, height:70, ease: Bounce.easeOut, x: 30, onComplete:myFunc, onCompleteParams:["{self}"], paused:true }); function myFunc(ele){ ele.reverse(); } $('.btn1').on('click',function(){ myTween1.resume(); })
<button type="button" class="btn1">Click!!</button> <br><br> <div class="box box1"></div> <span></span>
.box{width:50px;height:50px;background-color:#000}