Optimising ScrollingFrames

How can I optimise scrolling frames so that only the GUIs being viewed are ‘visible’. and the rest invisible,

Look at this: https://i.gyazo.com/fe6938446229969a8bdfad6d48c2f376.mp4
I want it so the UIs I view in the scrollingframe are the only ones visible

roblox automatically only renders what is in the frame, but if you insist on making the items only visible when it’s in the scrollingframe, you can compare the items absoluteposition and absolutesize to that of the scrollingframe.