Source:getDuration
EditReturns the duration of the Source.
duration = Source:getDuration(unit)
Arguments
Name | Type | Default | Description |
unit | TimeUnit | 'seconds' | The unit to return. |
Returns
Name | Type | Description |
duration | number | The duration of the Source. |