documentation indexreference manualfunction index

renpy.music.stop

Function: renpy.music.stop (channel="music", fadeout=None):

This stops the music that is currently playing on the named channel, dequeues all queued music, and sets the last queued file to None.

fadeout - If None, the music is faded out for the time given in config.fade_music, otherwise it is faded for the given number of seconds.

Example

    $ renpy.music.stop(channel="sound")



documentation indexreference manualfunction index