Source:tell

Edit

Returns the current playback position of the Source.

position = Source:tell(unit)

Arguments

NameTypeDefaultDescription
unitTimeUnit'seconds' The unit to return.

Returns

NameTypeDescription
positionnumber The current playback position.

Notes

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

See also