How to check if a gui is touching another gui

I have this hotbar gui, all of it is done, but I want to have it so that you can drag items to move around their positions. I have dragging down, but how would I check if the thing you’re dragging is touching a slot? I don’t want to just put in positions because that could get scaling issues on other devices. So, I’m trying to figure out touching. If anyone knows how to do this I would appreciate it!

1 Like

You can use absolute position instead of position to make sure it’s accurate for all devices.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.