I'm trying to learn javafx by implementing a little card-game. I am able to make a card movable with handling the mousePressed- and mouseDragged-events.
In mouse-pressed I store the origin of the drag and within the mouse-dragged-event I apply x-and-y-tranlations to the dragged card. Works like a charm and without any delay. (I
My problem is to determine another card (node) under the dragged card. Has any of you realized s.th. like this?
I tried to avoid manual calculations to check the intersections.