NGUI (UIPlayAnimation) check if any animation is playing, before triggering a new animation??

Hey, I’m fairly new to NGUI & ve been using it only for a month or two now. I’m making a menu with multiple panels for a game. I have separate animations for the In/Out transitions of these panel which I call upon button click. I use UIPlayAnimation to play the animation upon click. Everything works fine, but if I click on two buttons (one ryt after the other) two different animations happen together resulting in my game screen having two panels at once, overlapping each other. My question is, while using UIPlayAnimation to play the animations, Is there a way to check if any animation is playing, before triggering a new animation??

As @VesuvianPrime says, check the forums at Tasharen.com, they are really helpful. Although just out of my mind, I think there’s some event that triggers when animations end. Check here (I think you can use the onFinished event). You can also check the active animation docs here.