Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nexrender.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Permanently removes a layer from a composition. Use this when you need to completely eliminate elements from your template based on your data.

Example

{
  "type": "function",
  "name": "nx:layer-remove",
  "params": {
    "composition": "Main Comp",
    "layerIndex": "3"
  }
}

Parameters

composition
string
required
Name/ID of the composition containing the layer
layerIndex
string
required
Index of the layer to remove