Lingo Dictionary > L-N > loopsRemaining

 

loopsRemaining

Syntax

sound(channelNum).loopsRemaining

the loopsRemaining of sound(channelNum)

Description

Read-only property; the number of times left to play a loop in the current sound playing in sound channel channelNum. If the sound had no loop specified when it was queued, this property is 0. If this property is tested immediately after a sound starts playing, it returns one less than the number of loops defined with the #loopCount property in the queue() or setPlayList() command.

See also

breakLoop(), loopCount, loopEndTime, loopStartTime, queue()