remove()

app.project.item(index).layer(index).remove()

Description

Deletes the specified layer from the composition.

Parameters

None.

Returns

Nothing.

Other Tags

Posted in Layer object and tagged , , , .