How do I check if the current greensock animation is animating? Like in jQuery I can do it like this :
$('.rightB').click(function(){
if (!$(this).is(":animated")) {//check for jquery animate only
TweenLite.to(boxSlide, 1, {left:"-=100%"});
}
});
The reason I want to do this is because my property is relative value and would cause complication if click continuously.
I only want it to be able to click again only when the animation is done.
Thanks for the help