title: How to animate animatedSprite from specific index? - andengine
body: <p>Does anybody know how to animate sprite from specific index(in my case from current index)? I try something but without success -</p>
  
  <pre><code>    if (!sprite.isAnimationRunning()) {
       int index = sprite.getCurrentTileIndex();
       sprite.animate(frameDurations, index, 7, true);
      }
  </code></pre>
  
  <p>and every time I have an exception because frameDurations doesn't equal frameCount. I just want to animate the sprite from currentIndex when button is pressed. :/</p>