regarding the fact you’re looking for a circle hittest you also may have a look at this example
h_classen (Hans-Gerd Claßen) #21
STE2DG (Stephen G) #22
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