Source:tell

Returns the current playback position of the Source.

position = Source:tell(unit)

Arguments

NameTypeDefaultDescription
unitTimeUnit'seconds'The unit to return.

Returns

NameTypeDescription
positionnumberThe current playback position.

See also