private void OnMouseDown()
{
screenPoint = Camera.main.WorldToScreenPoint(gameObject.transform.position);
offset = gameObject.transform.position - Camera.main.ScreenToWorldPoint(new Vector3(Input.mousePosition.x, Input.mousePosition.y, screenPoint.z));
}
With this code I can touch the point on the screen but when I catch my balls on the screen sometimes i can't because they are too fast.
So can i take the point of click and enlarge this point ?