code: function(x,y) {
        
        if(typeof this.mouseInState === undefined) {
           this.mouseInState = false;
        }
  
  	   if( this.wireDrawnAt(x,y) ) {
  			if(!this.mouseInState) {
  			   this.mouseInState=true;
  			   this.onWireIn(x,y);
  			}	
  			
  			this.onWireMove(x,y);
  	   }
  	   else {
  	      if(this.mouseInState) {
  	         this.mouseInState=false;
  			   this.onWireOut(x,y);
  	      }
  	   }
        
     }
docs: Called by the Layer when the mouse moves over the canvas element.
  Note: the event is not listened directly, to receive the event event if the wire is behind another wire
  @method onMouseMove
  @param {Integer} x left position of the mouse (relative to the canvas)
  @param {Integer} y top position of the mouse (relative to the canvas)