Difference between revisions of "Source:seek"

m
m
Line 14: Line 14:
 
* [[Source:tell]]
 
* [[Source:tell]]
 
* [[parent::Source]]
 
* [[parent::Source]]
[[Category:Function]]
+
[[Category:Functions]]
 
{{#set:Description=Sets the currently playing position of the Source.}}
 
{{#set:Description=Sets the currently playing position of the Source.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Source:seek}}
 
{{i18n|Source:seek}}

Revision as of 09:15, 25 March 2011

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

Sets the currently playing position of the Source.

Function

Synopsis

Source:seek( offset, unit )

Arguments

number offset
The position to seek to.
TimeUnit unit ("seconds")
The unit of the position value.

Returns

Nothing.

See Also

Other Languages