======Stop Music======
----
Stops any [[music]] that's currently playing. An optional fade out (in seconds) can be specified.
====Signature:====
stop_music(fade_out_length)
^Argument^Description^Type^Required^
|fade_out_length|Length of time over which to fade out (in seconds).|[[Number]]|No|
====Example:====
stop_music(5);
//Results:// The [[music]] will be faded out over a duration of five seconds.
Use the **Stop Music** function to fade out the current [[map|map's]] default [[music]] before a cutscene starts in preparation for different [[music]] that will play during the cutscene.
----
====Editor Node:====
{{:stop_music_node.png?nolink|}}
~~NOTOC~~