There is a chessboard on which there are checkers. Each of them is assigned a click handler that causes drag and drop. Is it possible somehow inside this method to realize the "magnetization" of the object to the necessary cell, when the figure passes next to it?

    0