Added function in NP class to get current animation.