code: function(x, y) {
              if (typeof x === "number" && typeof y === "number") {
                  var center = this.pos2px(x, y);
                  Crafty.viewport._x =
                      -center.left +
                      Crafty.viewport.width / 2 -
                      this._tile.width / 2;
                  Crafty.viewport._y =
                      -center.top +
                      Crafty.viewport.height / 2 -
                      this._tile.height / 2;
                  return this;
              } else {
                  return {
                      top:
                          -Crafty.viewport._y +
                          Crafty.viewport.height / 2 -
                          this._tile.height / 2,
                      left:
                          -Crafty.viewport._x +
                          Crafty.viewport.width / 2 -
                          this._tile.width / 2
                  };
              }
          }
docs: @
  #Crafty.isometric.centerAt
  @comp Crafty.isometric
  @kind Method
  
  @sign public Obect Crafty.isometric.centerAt()
  @returns An object with `top` and `left` fields represneting the viewport's current center
  
  @sign public this Crafty.isometric.centerAt(Number x, Number y)
  @param x - The x position to center at
  @param y - The y position to center at
  
  This method centers the Viewport at an `x,y` location or gives the current centerpoint of the viewport
  
  @example
  ~~~
  var iso = Crafty.isometric.size(128,96).centerAt(10,10); //Viewport is now moved
  //After moving the viewport by another event you can get the new center point
  Crafty.log(iso.centerAt());
  ~~~