$ global name=highlight2
$ scene1 visualization=../TransAtlas.vmd 

# scene1

! use 'thickness' to put one highlight on top of another;
! use 'fraction' to make one event span several other actions

center_view  selection='resid 23'
{highlight   selection='resid 15 to 31' style=newcartoon color=green mode=u alias=h1 t=1.5s;
 zoom_in     scale=3 fraction=:0.33}
{highlight   selection='resid 18 to 28' style=newcartoon color=red mode=u alias=h2 t=1.5s thickness=1.05;
 zoom_in     scale=3 fraction=0.33:0.67}
{highlight   selection='resid 21 to 25' style=newcartoon color=yellow mode=u alias=h3 t=1.5s thickness=1.1;
 zoom_in     scale=3 fraction=0.67:}
{highlight   mode=d alias=h3 t=1.5s;
 zoom_out    scale=3 fraction=:0.33}
{highlight   mode=d alias=h2 t=1.5s;
 zoom_out    scale=3 fraction=0.33:0.67}
{highlight   mode=d alias=h1 t=1.5s;
 zoom_out    scale=3 fraction=0.67:}
