app.project.item(index).layer(index).active
Description
When true, the layer’s video is active at the current time.
For this to be true, the layer must be enabled, no other layer may be soloing unless this layer is soloed too, and
the time must be between the inPoint and outPoint values of this layer.
This value is never true in an audio layer; there is a separate audioActive attribute in the AVLayer object.
Type
Boolean; read-only.