Difference between revisions of "Source:tell"

(Add Source:getDuration to See Also)
Line 12: Line 12:
 
== See Also ==
 
== See Also ==
 
* [[Source:seek]]
 
* [[Source:seek]]
 +
* [[Source:getDuration]]
 
* [[parent::Source]]
 
* [[parent::Source]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 18:11, 23 January 2018

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

Gets the currently playing position of the Source.

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