SiliconGhetto Engine API
    Preparing search index...

    Function playSound

    • Play a loaded sound effect once.

      Parameters

      • id: string

        The sound ID previously loaded with loadSound

      Returns void

      sg.playSound('jump');