ElementGetScrollPercentage CallableElementGetScrollPercentage(ElementOrId): numberReturns the given element's scroll position as a percentage, with the top of the element being close to 0 depending on scroll bar size, and the bottom being around 1. To clarify, this is the position of the bottom edge of the scroll bar.ParametersElementOrId: ElementOrIdThe id of the element to find the scroll percentage of.Returns numberA float representing the scroll percentage.
Returns the given element's scroll position as a percentage, with the top of the element being close to 0 depending on scroll bar size, and the bottom being around 1. To clarify, this is the position of the bottom edge of the scroll bar.