---
name: "allEnv3DSoundSources"
type: command
status: ok
groups: ["Sounds"]
arma3_since: "2.08"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/allEnv3DSoundSources
revid: 309140
updated: 2022-05-03T11:50:33Z
---

# allEnv3DSoundSources

*Command · Sounds · Arma 3 v2.08*

## Description

Returns all environmental 3D sound sources ([Object](../topics/Object.md)s) like trees and houses in camera vicinity.

## Syntax

```sqf
allEnv3DSoundSources
```

**Returns:** [Array](../topics/Array.md) of [Object](../topics/Object.md)s

## Examples

### Example 1

```sqf
private _sources = allEnv3DSoundSources;
```

## See also

[getAllEnv3DSoundControllers](../commands/getAllEnv3DSoundControllers.md) · [getAllEnvSoundControllers](../commands/getAllEnvSoundControllers.md) · [getEnv3DSoundController](../commands/getEnv3DSoundController.md) · [getEnvSoundController](../commands/getEnvSoundController.md) · [selectBestPlaces](../commands/selectBestPlaces.md) · [getSoundController](../commands/getSoundController.md) · [getSoundControllerResult](../commands/getSoundControllerResult.md) · [getAllSoundControllers](../commands/getAllSoundControllers.md) · [getCustomSoundController](../commands/getCustomSoundController.md) · [setCustomSoundController](../commands/setCustomSoundController.md) · [getCustomSoundControllerCount](../commands/getCustomSoundControllerCount.md) · Arma 3: Sound

<sub>Source: [BI Community Wiki — allEnv3DSoundSources](https://community.bistudio.com/wiki/allEnv3DSoundSources) (revision 309140).</sub>
