Skip to main content
Controls the duration of a composition’s work area for rendering. This allows you to specify exactly how long your rendered output should be.

Example

{
  "type": "function",
  "name": "nx:comp-duration-set",
  "params": {
    "composition": "Main Comp",
    "value": 10
  }
}

Parameters

composition
string
required
Name/ID of the composition to modify
value
number
required
Duration value in seconds for the composition’s work area
I