Run when the scroll frame's vertical scroll position changes

Signature:

OnVerticalScroll(self, offset)

Arguments:

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