docs: function(x, y, centerX, centerY, width, height, direction, padding){
      var x1 = centerX - width/2;
      var x2 = centerX + width/2;
      var y1 = centerY - height/2;
      var y2 = centerY + height/2;
  
      return (x1 <= x && x <= x2) && (y1 <= y && y <= y2);
    }