def mouseDrag(self, evt, pos, _dir):
        """
        Called on dragging the mouse.
        Adds the current point to draggedPositions.
        """

        if getattr(self.brushMode, 'draggableBrush', True):
            if len(self.draggedPositions):  #If we're dragging the mouse
                self.lastPosition = lastPoint = self.draggedPositions[-1]
                direction = self.draggedDirection
                point = [p + d * self.reticleOffset for p, d in zip(pos, direction)]
                if any([abs(a - b) >= self.options['Minimum Spacing']
                        for a, b in zip(point, lastPoint)]):
                    self.dragLineToPoint(point)

        Called on dragging the mouse.
        Adds the current point to draggedPositions.
        
editortools/brush.py