SoundChannel:isPlaying: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the playing state for the sound channel. <br /> <br /> <source lang="lua"> (any) (any)..." |
No edit summary |
||
| (14 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
'''Class:''' [[SoundChannel]]<br/> | |||
=== Description === | === Description === | ||
Returns the playing state for the sound channel. | |||
Returns the playing state for the sound channel. | <syntaxhighlight lang="lua"> | ||
< | (bool) = SoundChannel:isPlaying() | ||
</syntaxhighlight> | |||
( | |||
</ | === Return values === | ||
'''Returns''' ( | '''Returns''' (bool) ''true'' if the channel is currently playing a sound, ''false'' otherwise<br/> | ||
'' | |||
{{SoundChannel}} | |||
Latest revision as of 16:56, 22 October 2026
Available since: Gideros 2011.6
Class: SoundChannel
Description
Returns the playing state for the sound channel.
(bool) = SoundChannel:isPlaying()
Return values
Returns (bool) 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