Get all objects within radius of mouse click.

Hello,

I am trying to get all the objects within a radius of a mouse click/touch.

I have had a look around, and I think I am to use Physics.OverLapSphere

Here is what I have so far:

public void Click1(object h)
	{
		RaycastHit hit = (RaycastHit)h;
		GameObject hitGameObject = hit.collider.gameObject;
	
       Debug.Log("HIT at '" + hit.point + "' RECEIVED IN '" + gameObject.name + "'");

       Collider[] nearObjects = Physics.OverlapSphere(hit.point, 4F);
    
 
        foreach (Collider object in nearObjects) {

 
         if(object.tag == sticky) 
         Destroy(object.gameObject);
     }
 
        
}

And here is the error: error CS1525: Unexpected symbol `object’

Any suggestions or a fix?

object is a keyword. Use another variable name