ScriptInterface:DuplicateLayer(layer, byReference)

Version added: before 9.5

Duplicates the given layer, placing the new copy above the old one and making it the selected layer

ArgumentTypeDescriptionDefaultVer
layerMohoLayerAn existing layer to duplicate< 9.5
byReferenceboolAdded in version 11false11

Return type (MohoLayer): the new layer

Duplicates the given layer, placing the new copy above the old one and making it the selected layer.
String "DuplicateLayer" is found in the following scripts:

WP Import from Spine JSON (by wigglepixel)

SS - Clear Copy FBF Layer (by simplsam)

MR Transform Rig Tool (by eugenebabich)

AE Meshinstance (by A.Evseeva)

Merge skeletons (by A.Evseeva)

See all...