In one of our previous post we have discussed how to animate sprite sheet in cocos2D.
In some cases you may need to stop the sprite sheet animation abruptly. How to do that?
Here the way to do that. Use the following.
where spriteName is the name of your sprite & spriteNameAction is the name of your sprite sheet animation action.