code: function(e) {
          if (!this._dragging) return;
          this._dragging = false;
  
          // TODO: remove this and instead lock on pointer control events in future
          Crafty.s("Mouse").unbind("MouseMove", this._ondrag);
          Crafty.s("Mouse").unbind("MouseUp", this._onup);
  
          // if event undefined, use the last known position of the mouse
          this.trigger("StopDrag", e || Crafty.s("Mouse").lastMouseEvent);
          return this;
      }
docs: @
  #.stopDrag
  @comp MouseDrag
  @kind Method
  
  @sign public this .stopDrag(void)
  
  Stop the entity from producing drag events, essentially reproducing the drop.
  
  @see .startDrag