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.

Notes

The return value for Sources backed by a stream Sound has no meaning.

See also