Detect if ScrollingFrame child was out out the Scrolling Frame

Hello everyone, so im trying to make something that detect if an ui is out of its parent scrolling frame like in this images


image
image
as u can see in the image of a game, the ui changes its position when its a the end/edge, so whats trying to do is, how do i detect if the ui was out of the position just like the title!

if anyone know please help :slight_smile:


this is what in my project looks like

Do you mean that the menu spawns on the left instead of the right when the unit button is on the far right?

no i mean like, u see that in my project image, u see that an ui was clipped and cant be see, and i need something to detect if it was clipping so i can move it to another position that can be seen