Difference between revisions of "Source:tell"

m
m
Line 1: Line 1:
{{newin|[[0.8.0]]}}
+
{{newin|[[0.8.0]]|080}}
 
Gets the currently playing position of the Source.
 
Gets the currently playing position of the Source.
 
== Function ==
 
== Function ==

Revision as of 09:10, 25 March 2011

Available since LÖVE 0.8.0
It 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