Expose a way for Lua to detect the scroll bar on ScrollingFrames

As a Roblox developer, it is currently too hard to detect when the user is hovering/clicking the scroll bar on ScrollingFrames.
I am currently forced to do some hacky calculations with existing properties to guess where the scroll bar is, which I still have not gotten exactly correct as of writing this.

If this issue is addressed, it would improve my development experience because I would not have to guess where the scroll bar is with existing properties.
It would also improve my experience as a plugin developer as I would like to change the color of the scroll bar based on the current theme of the user as they hover/drag the scroll bar without all of the hacky guessing.

I propose a few events that act similarly to GuiButton.MouseEnter, GuiButton.MouseLeave and GuiButton.MouseMoved

8 Likes