Source Academy Modules
    Preparing search index...

    Function load_sound

    • Load the sound asset into the scene for use. All sound must be loaded before used in play_sound.

      Parameters

      • key: string

        key to be associated with the sound

      • url: string

        path to the sound

      Returns void