Vertex Docs

AudioManager.stop_music()

Description: Immediately stops playback of the currently playing music track. Once stopped, the music position is reset, and calling AudioManager.play_music() will start the track again from the beginning. This method is commonly used when switching scenes, pausing gameplay, or transitioning between menus.

Usage

from VertexEngine.audio import AudioManager

AudioManager.stop_music()

Parameters

Returns

None — This method stops music playback and does not return a value.

Notes