Returns the message frame's current scroll position

Signature:

offset = ScrollingMessageFrame:GetCurrentScroll()

Returns:

  • offset - Number of lines by which the frame is currently scrolled back from the end of its message history (number)