Enum
Enum.ListenerLocation
Enum used with SoundService.DefaultListenerLocation to determine where an AudioListener is placed by default.
| Item | Value | Summary |
|---|---|---|
| Enum.ListenerLocation.Default | 0 | Behavior depends on the value of VoiceChatService.EnableDefaultVoice and VoiceChatService.UseAudioApi. When using the default voice setup with the audio API, this behaves similarly to Camera. |
| Enum.ListenerLocation.None | 1 | No AudioListener will be created by default, but they can be created separately by scripts. |
| Enum.ListenerLocation.Character | 2 | All of the following, resulting in the world being heard from the position of your character while matching the orientation of your camera. - An Attachment will be created and parented to the PrimaryP |
| Enum.ListenerLocation.Camera | 3 | All of the following, resulting in the world being heard from the perspective (postition and orientation) of the camera. - An AudioListener will be created and parented to Workspace.CurrentCamera. - A |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.