if collider is disabled can i check click event on that gameobject?

Run time i am disabling gameobjects collider.
Now when the collider is disabled and if i click on that gameObject i want to show some pop up message like “Error”.

Is it possible?

I believe you would still need a collider to register a click, mesh or box or capsule.