Controls how long a layer appears in your composition. This function automatically handles different types of layers to set their duration.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.
Example
Parameters
Name of the layer to modify
Duration value in seconds for how long the layer should be visible.
Notes
- Works with all layer types including nested compositions
- The layer’s start time remains unchanged
- Duration is measured in seconds

