Source Academy Modules
    Preparing search index...

    Function play_sound

    • Play the sound associated with the key. Throws error if key is non-existent.

      Parameters

      • key: string

        key to the sound to be played

      • config: ObjectConfig = {}

        sound config to be used

      Returns void