'''ON PLAY (n)''' is a event-trapping statement that specifies the line-number or label to branch to when the background music queue has too few notes.


{{PageSyntax}}
:: ON PLAY (''queuelimit'') [[GOSUB]] {''linelabel'' | ''linenumber''}


''Description:''
*'''[[Keywords currently not supported by QB64|Currently NOT supported in QB64!]]'''
* You can use PLAY ON, PLAY OFF and PLAY STOP to resume event-trapping, disable it, or stop it (resumes with PLAY ON).


''See also:'' 
* [[PLAY]], [[PLAY(n)]], [[ON...GOSUB]]


{{PageNavigation}}