Question
How to create a mask by specifying a frame
I'm looking for a way to create a frame-based mask from a script (jsx).
I can create a mask based on time (seconds) with addKey (), but I don't know how to mask based on the frame.
keyIndex1 = newMask.property(1).addKey(frame * frameDuration);
newMask.property(1).setInterpolationTypeAtKey(keyIndex1, KeyframeInterpolationType.HOLD);
If anyone knows how to create a mask based on a frame without using addkey (), please let me know.
