Adobe Animate 2020.
frameIndex – It is an integer that specifies absolute frame index.
layer.getRigMatrixAtFrame(frameIndex)
matrix object
Method; It will return the rig matrix of the particular frame.
The following example gets the rig matrix from the first frame of the ninth layer:
var matrix = an. getDocumentDOM(). getTimeline(). layers[8]. getRigMatrixAtFrame (0);