Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 597 Bytes

File metadata and controls

30 lines (17 loc) · 597 Bytes

layer.setZDepthAtFrame()

Availability

Animate 2019.

Usage

layer.setZDepthAtFrame(FrameNumber,ZVal)

Parameters

FrameNumber : It is an integer that specifies the frame index starting from 0. ZVal: It is an integer that specifies the ZDepth value ranges between -5000 to 10000.

Returns

Nothing

Description

Method; Sets the ZDepth at the specified frame number.

Example

The following example sets the zdepth value at first frame to 100 of the first layer:

fl.getDocumentDOM().getTimeline().layers[0].setZDepthAtFrame(0,100);