ReferenceScripting APIMotionLayerclone
MotionLayer.clone
methodA copy of this layer, just above it, while the scene plays.
| Name | clone |
|---|---|
| Kind | method of MotionLayer |
| Called as | scene.layer(…).clone(…) |
| As a node | Clone Layer (logic graph) |
| Since | 0.4 |
Syntax
clone(name?: string): MotionLayerParameters
| Name | Type | Description |
|---|---|---|
name | string | Optional. The copy's name ("Name (copy n)" unless given) |
Returns
MotionLayer: the copy.
Remarks
1024 copies a scene at most; a layer that isn't there gives one that doesn't exist.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.