richmond62 wrote: ↑Tue Aug 09, 2022 9:37 pm
If your next problem is as easily sorted out as the recent ones that's OK with me.
I don't know, you tell me
I'm using:
Code: Select all
intersect(draggedImg, targetImg, "pixels")
to hilite the image target but in some cases, dragged image intersects 2 possible targets.
In the case shown of the screenshot, one can't know on which target the dragged image will be dropped on
mouseOut event but *we hope* the correct target will be the Queen of Diamonds... So my question is: is there a way to restrain the "hot" rectangle of the dragged image?
I think I could do that without
intersect function and create my own function, maybe using
centerRect() but I'm afraid the card mouvement will be jerky, due to calculation loop.