How to Detect a gameObject when Clicked near it?

I am working on Angry bird type game.I need the ball to be detected when the user clicks near the ball but i couldn’t. I have tried

function but it detects only when it is on the gameobject.

Not for a GO but works with Colliders

Pick one:

The best Answer I got is to use


If anyone faces similar problem like me click examples from the documentation Unity - Scripting API: Input.GetTouch