Difference between revisions of "Source:isPlaying"

(Created page with "{{newin|0.9.0|090|type=function}} Returns whether the Source is playing. == Function == === Synopsis === <source lang="lua"> playing = Source:isPlaying( ) </source> === Argum...")
 
m (corrected a minor mistake in the description)
 
Line 13: Line 13:
 
* [[parent::Source]]
 
* [[parent::Source]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns whether the Source is stopped.}}
+
{{#set:Description=Returns whether the Source is playing.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Source:isPlaying}}
 
{{i18n|Source:isPlaying}}

Latest revision as of 15:52, 28 February 2014

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

Returns whether the Source is playing.

Function

Synopsis

playing = Source:isPlaying( )

Arguments

None.

Returns

boolean playing
True if the Source is playing, false otherwise.

See Also

Other Languages