How would I detect if a GuiObject, like a frame, touches a certain GuiObject, like another frame and not any TextLabels in the way and print out "Frame is touching another frame." Here is a script that I tried, but it only worked if the frame was exactly on it.
local frame = script.Parent
local frame2 = script.Parent.Parent.HitFrame
if frame.Position == frame2.Position then
print("Frame is touching HitFrame")
end
Note: frame2 has the same size of the first frame.

1 comment
maybe this works