     console.log e
 
   # Helper functions
+  getToolCount: =>
+    $(".#{@className}").length
+
   generatePosition: ->
     doc_width = $(document).width()
     doc_height = $(document).height()

      @tool.start()

  startDrag: (e) =>
    $('body').addClass 'unselectable'
    elWidth = @el.outerWidth()
    elHeight = @el.outerHeight()


    $(document).on 'mousemove', (e) =>
      if @dragging
        @el.offset
          top: e.pageY - relY
          left: e.pageX - relX

