code: protected void halt ()
      {
          // only do something if we're actually animating
          if (_animMode != NO_ANIMATION) {
              // disable animation
              setAnimationMode(NO_ANIMATION);
              // come to a halt looking settled and at peace
              String rest = getRestingAction();
              if (rest != null) {
                  setActionSequence(rest);
              }
          }
      }
docs: Updates the sprite animation frame to reflect the cessation of movement and disables any
  further animation.