Skip to Content

Set duration

Use this script to set a fixed duration in seconds for a specific layer. The duration can be different from the one in the After Effects project. Setting a duration of zero will effectively make the layer invisible.

These are the options for the set duration script:

  • Duration - the duration of the layer in seconds.

Dynamic layer duration

If you want the layer’s duration to change based on input data, during the render execution, use duration option with the Layer management script.