     @on.left e if @active.left.active
     @on.right e if @active.right.active
     @on.top e if @active.top.active
+    console.log "deactivate all"
     @active = {} =
       left: {}
       right: {}

      if not @active.top.active? and e.diff.top>=@minActivate
        @active.top.active=true
      if @active.top.active
        @on.top e



    if e.right<=@space
      @active.right.down = true
    if e.top<=@space
      console.log "Activate top"
      @active.top.down = true

  #Override: On Mouse move, check it was pressed and apply @on[direction] function
