Difference between revisions of "Source:tell"
(Created page with "{{newin|0.8.0}} Gets the currently playing position of the Source. == Function == === Synopsis === <source lang="lua"> pos = Source:tell( unit ) </source> === Arguments === {...") |
m |
||
Line 4: | Line 4: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | position = Source:tell( unit ) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
{{param|TimeUnit|unit ("seconds")|The type of unit for the return value.}} | {{param|TimeUnit|unit ("seconds")|The type of unit for the return value.}} | ||
=== Returns === | === Returns === | ||
− | The currently playing position of the [[Source]]. | + | {{param|number|position|The currently playing position of the [[Source]].}} |
== See Also == | == See Also == | ||
* [[Source:seek]] | * [[Source:seek]] |
Revision as of 02:00, 20 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
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info