Source:tell

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Gets the currently playing position of the Source. With the queueable source type, this method returns a value based only on the currently playing buffer.

Function

Synopsis

position = Source:tell( unit )

Arguments

TimeUnit unit ("seconds")
The type of unit for the return value.

Returns

number position
The currently playing position of the Source.

See Also

Other Languages