Returns a number identifying the last message added to the frame. This number starts at 0 when the frame is created and increments with each message AddMessage to the frame; however, it resets to 0 when a message is added beyond the frame's GetMaxLines.

Signature:

lineNum = ScrollingMessageFrame:GetCurrentLine()

Returns:

  • lineNum - A number identifying the last message added to the frame (number)