Motion
Get Motion

ReferenceScripting APIMotionLayerclone

MotionLayer.clone

method

A copy of this layer, just above it, while the scene plays.

Nameclone
Kindmethod of MotionLayer
Called asscene.layer(…).clone(…)
As a nodeClone Layer (logic graph)
Since0.4

Syntax

clone(name?: string): MotionLayer

Parameters

NameTypeDescription
namestringOptional. 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.