Function resume

  • resume the specified sound on all channels

    Parameters

    • sound_name: string

      audio clip name - case sensitive

    • Optionalid: number

      the sound instance ID. If none is passed, all sounds in group will resume.

    Returns void

    // play a audio clip
    let id = me.audio.play("myClip");
    ...
    // pause it
    me.audio.pause("myClip", id);
    ...
    // resume
    me.audio.resume("myClip", id);