What it does
audio.stop acts on audio: it stops. It takes url. url is optional.
The API says: stops all if no url
Signature
audio.stop(url?)Arguments
urloptional
Example · generated
function start() { audio.stop('/audio/click.wav');}audio.stop is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.