Run when the scroll frame's horizontal scroll position changes

Signature:

OnHorizontalScroll(self, offset)

Arguments:

  • self - Reference to the widget for which the script was run (scrollframe)
  • offset - New horizontal scroll position (in pixels, measured from the leftmost scroll position) (number)