MohoDoc:GetLayerComp(id)

Version added: 10

Added in version 10

ArgumentTypeDescriptionDefaultVer
idint3210

Return type: LayerComp

For example, to print all the LayerComps in a document:
for i = 0, moho.document:CountLayerComps()-1 do
print(moho.document:GetLayerComp(i):Name())
end

String "GetLayerComp" is found in the following scripts:

FO_Utilities (by Lukas)