From: Jérôme Hénin (jerome.henin_at_ibpc.fr)
Date: Fri Dec 02 2016 - 06:52:20 CST

Hi Eric,

You need to set a callback for vmd_pick_event. See there:
http://www.ks.uiuc.edu/Research/vmd/current/ug/node159.html

Best,
Jerome

On 2 December 2016 at 13:20, Eric Smoll <ericsmoll_at_gmail.com> wrote:

> Hello VMD users,
>
> I am interested in writing a Tcl script that will capture atom info from a
> click in the OpenGL display window (similar to that printed to the console
> when using the Mouse-->Query tool) and use this info to modify the color of
> the atom. Can anyone point me to relevant documentation or code?
>
> Best,
> Eric
>