ScriptInterface:DuplicateLayer(layer, byReference)

Version added: before 9.5

Arguments:

Name Type Description Default Ver
layer MohoLayer An existing layer to duplicate < 9.5
byReference bool Added in version 11 false 11.0

Return value:

MohoLayer the new layer
Duplicates the given layer, placing the new copy above the old one and making it the selected layer.
<< Back to ScriptInterface