Skip to main content

AudioPlayInstantSound

Callable

  • AudioPlayInstantSound(src: string, volume?: number): void

  • Plays a sound at a given volume


    Parameters

    • src: string

      Source of the audio file to play

    • optionalvolume: number

      Volume of the audio in percentage (ranges from 0 to 1)

    Returns void

    • Nothing