Mouse Clicking Effect on an image

Hi Guys! I have a gameobject with an image on it and image contains some text what I want is to generate a clicking effect on some part of that image (e.g. on some text line) to show if some one has clicked on that line but no one is clicking in reality and i don’t know how can I do this in unity. I have searched for it but could not find something that is my need. Help will be appreciated. Thanks in Advance. Image is attached below I wanted to generate clicking effect on Connect to Server.

Hi, I would recommend replacing the GameObject with “Button” (you can find it in the UI section).Once you have the “Button” you can set up a custom effect in the “OnClick” section in the Inspector!
Will give you more infos if you like my solution

Thanks a lot for your response buddy. I know I can use button but What if i only need to show a click animation only not actual clicking exists in my scenario. Hope you understand.