Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 582 Bytes

File metadata and controls

30 lines (17 loc) · 582 Bytes

layer.setBlendModeAtFrame()

Availability

Animate 2020.

Usage

layer.setBlendModeAtFrame(frameIndex,blendModeString)

Parameters

frameIndex – It is an integer that specifies absolute frame index. blendModeString - It is the string that specifies the blendmode to be set.

Returns

Nothing

Description

Method; Sets the blending mode at the particular frame.

Example

The following example sets the blending mode of the frame number 5.

an.getDocumentDOM().getTimeline().layers[0].setBlendModeAtFrame(4,"Subtract");