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
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.
Search results
Usage of 'DuplicateLayer' is found in the following scripts:
Merge skeletons (Original Edition) by A.Evseeva
View Code
AE Meshinstance (Original Edition) by A.Evseeva
View Code
MR Transform Rig Tool (Original Edition) by eugenebabich
View Code
WP Import from Spine JSON (Original Edition) by wigglepixel
View Code
Layer Interval (Original Edition) by Modelman
View Code
LF_Pencil (Beta version) by lucasfranca
View Code