Hi Elaine,
Thank you for getting back to me. 
Actually, it would be more helpful if I were able to look at the code itself.
Thanks again,
Shubham

From: Elaine Meng <meng@cgl.ucsf.edu>
Sent: July 6, 2023 1:41 PM
To: Shubham Devesh Ramgoolam <sdramgoolam@uwaterloo.ca>
Cc: chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu>
Subject: Re: [chimerax-users] Graphical Window
 
Hi Shubham,
The user-interface (nonprogramming) way to do it is to Ctrl-click to select that item, then perform the task on the selection.

If you really need to look at the code, it may be very complicated, and somebody else would have to respond since I don't know the answer.

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Jul 4, 2023, at 7:42 PM, Shubham Devesh Ramgoolam via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
>
> Hi all,
> I hope you are doing well.
> If I hover my mouse over a structure in the graphical window of chimeraX, a short text is loaded revealing information about the residue/atom/bond my mouse is hovering on.
> I want to take advantage of this feature, but I want to perform a task different from the default one but still specific to the part of the structure my mouse is hovering on.
> As of now, I don't really know how to go about this and I am trying to locate the scripts that encode the original feature just so I can get an idea of how to go about this. Could you please help locate those scripts (if possible)?
> Regards,
> Shubham