Play Music


Plays the specified music file.

Signature:

play_music(music_name)
ArgumentDescriptionTypeRequired
music_nameName of the music file to play.StringYes

Example:

play_music("Victory.ogg");

Results: Plays the music file named “Victory.ogg”.

Use the Play Music function to trigger a different song during a cutscene or to signal the start of a special event in your game.


Editor Node: