addCheckboxControl()
addCheckboxControl('thisLayer/master','name',0/1);
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
0/1
0/1
referrers to the value of the effect:
0 = false / unticked
1 = true / ticked
Last updated
Was this helpful?