while selected, event triggered by another object

Sorry for such annoying request, but it makes my head spin and I could not sleep last night :cry:

I still can not know how to simply detect when a game object is clicked and make something happen on this object using another object (GUI button/texture).
So it is basically called mouse button twice, one for selected the object and one for activate the event trigger for this selected object?

This is why I am not suitable for computer science study. :sweat_smile: I am weak in algorithm.

I already mention this on my previous letter. Arrgghh…anybody can help me?

I am very appreciate.

I don’t have my Unity machine here to look at, but I think you want to look at Physics.Raycast, to determine what object you clicked. It will give you a RaycastHit object, which has a reference to the object that you clicked on.