$ global fps=20 name=label1
$ scene1 visualization=../TransAtlas.vmd 

# scene1

! Native VMD labels (especially rendered w/Tachyon) look bad,
! but so far it's the only option to have them move around;
! it's best to select an atom that points out from the structure
! so that it is not occluded by other things.
! Note that atom indices are 0-based!

add_label     atom_index=77 label='Leu 11'
{highlight    selection='resid 11' t=3s color=type style=licorice;
 rotate       axis=y angle=60} 
remove_label  all=t

add_label     atom_index=152 label='Lys 20' label_color=blue
{highlight    selection='resid 20' t=3s color=type style=licorice;
 rotate       axis=y angle=-60}
