ScrollingFrame.Active, What Does It Really Do?

So I heard that setting the scrolling frames active property to true will stop this annoying camera zoom behavior with the GUI. Although I am still confused on the exact purpose of the active BoolValue. Can someone explain in great detail because all the api reference gave me was a sentence that I didn’t quite understand.

API reference: ScrollingFrame | Documentation - Roblox Creator Hub

I also tried searching on the dev forum for help, but didn’t find any good help. If anyone could find an example or explain in great detail that would be very appreciated, Thanks For Reading! :grin:

“This property determines whether a GuiObject will sink input to 3D space, such as underlying models with a ClickDetector . In other words, if the player attempts to click a ClickDetector with the mouse hovering over an Active UI element, the UI will block the input from reaching the ClickDetector.” -wiki

This explains it really well. The .Active property doesn’t sound as interesting as you’d expect it to be. The main idea behind it is, when something in 3D world is supposed to take input from the mouse (basically a click), but there is something in the 2D screen blocking the mouse’s curson from clicking for example a 3D object, if that something’s Active property was set to False, the 3D input would be prioritized, and it would ignore the 2D element.

2 Likes

Wow can’t believe I didn’t see that api reference, thank you this helps a lot.

1 Like