---
title: "removeAudioPlayer(_:)"
framework: scenekit
role: symbol
role_heading: Instance Method
path: "scenekit/scnnode/removeaudioplayer(_:)"
---

# removeAudioPlayer(_:)

Removes the specified audio player from the node, stopping playback.

## Declaration

```swift
func removeAudioPlayer(_ player: SCNAudioPlayer)
```

## Parameters

- `player`: An audio player attached to the node.

## Discussion

Discussion This method has no effect if the player parameter does not reference an audio player directly attached to the node.

## See Also

### Working with Positional Audio

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