I have a scenario where I want to know if one element is completely (or mostly) overlapping another element.
The best way I can describe this is to imagine a top-down view of a mini-golf course... I want to know when the "centroid" of the ball is within the hole element's circumference... hence a completed hole.
Collision doesn't work because the ball would be considered "in" if the edges touch.
Overlapping doesn't work because the ball would be considered "in" if a fraction of the ball covers the hole.
In my case the "ball" I'm trying to get in the "hole" is a ~20px dia. ball in a ~25px dia hole.
Is there a built in event that I can use to achieve this? or do I need to roll my own... testing the X,Y of my "ball" vs. the X,Y +/-5px of the hole?