---
title: audioPlayers
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnnode/audioplayers
---

# audioPlayers

The audio players currently attached to the node.

## Declaration

```swift
var audioPlayers: [SCNAudioPlayer] { get }
```

## Discussion

Discussion Positional audio effects from a player attached to a node are based on that node’s position relative to the audioListener position in the scene. After an audio player completes playback, SceneKit automatically removes it from the node. Therefore, this array always contains audio players that are currently playing back audio.

## See Also

### Working with Positional Audio

- [addAudioPlayer(_:)](scenekit/scnnode/addaudioplayer(_:).md)
- [removeAudioPlayer(_:)](scenekit/scnnode/removeaudioplayer(_:).md)
- [removeAllAudioPlayers()](scenekit/scnnode/removeallaudioplayers().md)
