Skip to main content

PlatformSoundEffect

Callable

  • PlatformSoundEffect(Category: string, Sound: string | string[], Factor?: number): void

  • Plays a sound effect if needed


    Parameters

    • Category: string

      The sound effect category

    • Sound: string | string[]

      The sound or array of sound to play

    • Factor: number = 0.3333

      The volume factor to apply

    Returns void

    • Nothing