how do I get the ID, of the DOM element in the current position of the mouse or determine if there is a DOM element in the current position?
the mouse is followed by a picture and is written with the onmousemove method. I don"t know if it will affect the DOM element that gets the current position of the mouse.
thought about using collisions, but there are so many DOM elements on the page that collisions can only be done one-to-one. The picture that follows the mouse movement accounts for one. So how do the remaining DOM elements load into the second position, using an array? No, or the algorithm. Ask for advice.