IsPlaying - Scene
Member of: Scene Script
Returns whether the scene is currently playing or not.
SyntaxEdit
bool Function IsPlaying() native
ParametersEdit
None.
Return ValueEdit
Returns if the scene is currently playing or not.
ExamplesEdit
; Is the scene playing
if CoolScene.IsPlaying()
Debug.Trace("Cool scene is playing!")
endIf
NotesEdit
- Even though a scene is stuck, it is still playing, and thus this function will return true. Therefore it is not entirely useful for debugging a scene.