Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 529 Bytes

File metadata and controls

31 lines (16 loc) · 529 Bytes

layer.getRigParentAtFrame()

Availability

Adobe Animate 2020.

Parameters

frameIndex – It is an integer that specifies absolute frame index.

Usage

layer.getRigParentAtFrame(frameIndex)

Returns

layer object

Description

Method; It will return the layer parent of the given frame.

Example

The following example gets the layer parent from the first frame of the ninth layer:

var myparent = an. getDocumentDOM(). getTimeline(). layers[8]. getRigParentAtFrame (0);