Returns the name and hyperlink for the item displayed in the tooltip

Signature:

name, link = GameTooltip:GetItem()

Returns:

  • name - Name of the item whose information is displayed in the tooltip, or nil. (string)
  • link - A hyperlink for the item (string, hyperlink)