duplicate_layer

duplicate_layer(layer: Node) Node

Duplicate the layer and its animation.

Parameters

layer (Node) – The layer

Return type

Node

Raises

RuntimeError – if the duplication failed.