# Sandbox.SoundEvent

A sound event. It can play a set of random sounds with optionally random settings such as volume and pitch.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.GameResource](/api/Sandbox.GameResource)

## Constructors

- [`SoundEvent`](/api/Sandbox.SoundEvent/.ctor)

## Properties

- [`AirAbsorption`](/api/Sandbox.SoundEvent/AirAbsorption): Allow this sound to be absorbed by air
- [`Decibels`](/api/Sandbox.SoundEvent/Decibels): How loud is this sound, affects how far away it can be heard
- [`DefaultMixer`](/api/Sandbox.SoundEvent/DefaultMixer): Default mixer to play this sound with if one isn't provided on play.
- [`Distance`](/api/Sandbox.SoundEvent/Distance): How many units the sound can be heard from.
- [`DistanceAttenuation`](/api/Sandbox.SoundEvent/DistanceAttenuation): Should the sound fade out over distance
- [`Falloff`](/api/Sandbox.SoundEvent/Falloff): The falloff curve for the sound.
- [`Occlusion`](/api/Sandbox.SoundEvent/Occlusion): Legacy alias for [Sandbox.SoundEvent.OcclusionEnabled](/api/Sandbox.SoundEvent/OcclusionEnabled).
- [`OcclusionEnabled`](/api/Sandbox.SoundEvent/OcclusionEnabled): Allow this sound to be occluded by geometry
- [`OcclusionRadius`](/api/Sandbox.SoundEvent/OcclusionRadius): Legacy occlusion radius. No longer used by the simulation.
- [`Pitch`](/api/Sandbox.SoundEvent/Pitch): The base pitch of the sound.
- [`Reflections`](/api/Sandbox.SoundEvent/Reflections): Legacy alias for [Sandbox.SoundEvent.ReverbEnabled](/api/Sandbox.SoundEvent/ReverbEnabled).
- [`ResourceVersion`](/api/Sandbox.SoundEvent/ResourceVersion)
- [`ReverbEnabled`](/api/Sandbox.SoundEvent/ReverbEnabled): Allow this sound to trace reflections, allowing it to be heard indirectly
- [`SelectionMode`](/api/Sandbox.SoundEvent/SelectionMode): Selection strategy to use when picking from multiple sounds.
- [`Sounds`](/api/Sandbox.SoundEvent/Sounds): A random sound from the list will be selected to be played.
- [`Transmission`](/api/Sandbox.SoundEvent/Transmission): Legacy transmission toggle. Transmission is now derived from occlusion and material response.
- [`UI`](/api/Sandbox.SoundEvent/UI): Is this sound 2D?
- [`Volume`](/api/Sandbox.SoundEvent/Volume): How loud the sound should be.
