Source:seek

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 new position for the Source to play from.
TimeUnit ("seconds") unit
The unit of the offset value.

Returns

Nothing.

See Also

Other Languages