code: public void setLocation(int x, int y)
      {
          screenX = UtilMath.clamp(x, minX, maxX);
          screenY = UtilMath.clamp(y, minY, maxY);
      }
docs: Set cursor location.
  
  @param x The horizontal location.
  @param y The vertical location.