Widget API: GameTooltip:NumLines

From AddOn Studio
Jump to navigation Jump to search

Widget API ← GameTooltip < NumLines

Return the number of text lines which comprise a tooltip object.

local count = GameTooltip:NumLines()

Parameters

Returns

  • count (number) - The number of lines in the tooltip.