/ HALion Developer Resource / HALion Script / Reference /
isPlaying
isPlaying()
Description
Function to detect whether the host is in playback.
Available in: Processor.
Return Values
Returns true
if the host is in playback and false
if not.
Example
-- Detect if the host is in playback.
function onNote(event)
if isPlaying() then
print("Playback is running.")
else
print("Playback is stopped.")
end
end