Ok so here, what you are looking for is simple geometry.
How do you detect if a point (here it’s the mouse) is inside a circle?
Check this :
NOTE :
This is actually a duplicate of this previous subject :
Ok so here, what you are looking for is simple geometry.
How do you detect if a point (here it’s the mouse) is inside a circle?
Check this :
NOTE :
This is actually a duplicate of this previous subject :