Hi, I need 2 functionalities:
-
while dragging object1 over object2, make object2 brighter, to let user know dropping object1 will be dropped on object2
-
while dropping object1 on object2 detect it.
I can save coordinates of object2, and when moving/dropping object1 check if object1 square collides with saved coordinates of object2. Is there any better way?
Some collision function? (but without applying physics there, just simple draging and dropping, like icons on windows desktop)