Make frame touch another frame function

Hey! I’ve been searching the internet for a long time how to make a frame function touch another frame

I tried to detect when a frame touches the positions of another frame but it doesn’t work because it did the function only when the frame was exactly in the position of the other frame and not when it touched it

Maybe this will help: