parentNodeIndex

Description

This function returns a layer identifier (layerIdx) for the parent of the layer (layerIdx). Peg Modules are often used to create parent-child hierarchies that control the animation of several related modules.

Syntax

Timeline.parentNodeIndex(layerIdx);

Arguments

layerIdx

layerIdx: This is an integer that represents the layer in the Timeline.

Related Topics 

Timeline