addLayerControl()

addLayerControl('thisLayer/master','name');

thisLayer / master

thisLayer referrers to the layer itself master referrers to the master layer in the comp

name

name referrers to the name you would like to give the effect

Last updated