Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 654 Bytes

File metadata and controls

32 lines (18 loc) · 654 Bytes

layer. setFiltersAtFrame()

Availability

Animate 2020.

Usage

layer. setFiltersAtFrame (frameIndex,filterArray)

Parameters

frameIndex – It is an integer that specifies absolute frame index. filterArray - The array of filters to be set

Returns

Nothing

Description

Method; Apply filters at a particular frame.

Example

The following example copies the filter applied at the first frame and sets it to the tenth frame:

var myFilters = an. getDocumentDOM(). getTimeline(). layers[0].getFiltersAtFrame(0);

an. getDocumentDOM(). getTimeline(). layers[0].setFiltersAtFrame(9,myFilters);