set-composition-properties
Set duration, frame rate, or dimensions of a composition by name or index. Modify existing comp settings to match project requirements.
Instructions
Change a composition's settings: duration, frameRate, and/or width+height. Select the comp by compName/compIndex (or active comp).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | New width in pixels (must be set together with height). | |
| height | No | New height in pixels (must be set together with width). | |
| compName | No | Composition name (or active comp if omitted). | |
| duration | No | New duration in seconds. | |
| compIndex | No | 1-based comp index, if compName is omitted. | |
| frameRate | No | New frame rate (fps). |