Drag and Drop for simple Quiz

regarding the fact you’re looking for a circle hittest you also may have a look at this example

2 Likes

Thanks @h_classen I found that if you set the radius of the rectangle to 90px the getBoundingClientRect(); method still returns the centre points for x and y while achieving a near perfect circular draggable element.

Heres the end result

Drag and Drop example with circular drag elements >

5 Likes