Skip to main content

play

Summary

Stop the currently playing track (if any) and start playing the requested one.

Signature

Parameters

sound

Type:string Key that identifies the music track (as passed to load).

Returns

Type:void Stop the currently playing track (if any) and start playing the requested one.