I want it to be like until the page of the scrolling frame is fully covered with any instances, you cant scroll
There is a property inside the ScrollingFrame named “ScrollingEnabled” you can essentially keep this disabled till the entire frame is filled with contents then check in the script whether it’s full or not then reenable it.
If you are using grid layout, i think the automatic size property should work
okay, you didnt answer anything im asking how to check in the script if its filled so it can enable
If you are using a UIGrid
then you can use the UIGrid:GetPropertyChangedSignal("AbsoluteContextSize")
event to see how much space UI Elements take up in the grid. The logic behind it would be to compare the UIGridLayout.FillDirection
with the AbsoluteContextSize
on that axis to check if the dimensions surpass or fit the size of the scrolling frame.
This guy answered it for you here ^ and I assumed you
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.