Next: Information about the picked
Up: Advanced Script Writing
Previous: Currently picked molecule/atom
  Contents
  Index
Trace on the pick variables
Tcl has the ``trace'' command which registers a procedure to be called
when a variable is read, changed, or deleted. (Please see one of
the various Tcl books for examples on how to use this.)
Since VMD sets the vmd_pick_atom and vmd_pick_mol variables, they
can be traced.
Subsections
vmd@ks.uiuc.edu