Animations.prototype.stopAnimation = function(anim) {

  var buffer = commandToBuffer(0, "Animations", "StopAnimation", anim);

  this.self._writePacket(this.self._networkFrameGenerator(buffer));