Difference between revisions of "SoundChannel:isPlaying"
From GiderosMobile
(removed language stuff + duplicate of values) |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns the playing state for the sound channel. | Returns the playing state for the sound channel. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(any) = SoundChannel:isPlaying() | (any) = SoundChannel:isPlaying() | ||
</source> | </source> |
Revision as of 14:31, 13 July 2023
Available since: Gideros 2011.6
Class: SoundChannel
Description
Returns the playing state for the sound channel. <syntaxhighlight lang="lua"> (any) = SoundChannel:isPlaying() </source>
Return values
Returns (any) true if the channel is currently playing a sound, false otherwise
- SoundChannel:getPitch
- SoundChannel:getPosition
- SoundChannel:getStreamId
- SoundChannel:getVolume
- SoundChannel:isLooping
- SoundChannel:isPaused
- SoundChannel:isPlaying
- SoundChannel:setEffect
- SoundChannel:setLooping
- SoundChannel:setPaused
- SoundChannel:setPitch
- SoundChannel:setPosition
- SoundChannel:setVolume
- SoundChannel:setWorldPosition
- SoundChannel:stop