I'm making an image button (with a transparent-background png) that constantly moves to random locations along with scaling to random sizes. When the user clicks on its non-transparent area, a function will be called.
What is a good way to check the bounds for this?