Click On object that has a larger collider

So I have an Object that has a collider and its about double in size of the Object and I use that collider to detect if there is other nearby objects and I need that collider to be there all the time not if I use OnMouseDown(); it will detect clicks even if I clicked outside the object of course because of the bigger size collider so how can I detect click on the object itself?

you could have multi child object with different collider to your main object, add a tag to objects collider you want to ignore by the script, for example

    void OnTriggerEnter(Collider othe
    { 
     if (other.tag == "Detect_Collider ") 
         {
              return;  
          }
      }