---
title: audioEngine
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnscenerenderer/audioengine
---

# audioEngine

The audio engine SceneKit uses for playing scene sounds.

## Declaration

```swift
var audioEngine: AVAudioEngine { get }
```

## Discussion

Discussion SceneKit uses this audio engine to play sounds from SCNAudioPlayer objects attached to nodes in the scene. You can use this object directly to add other sound sources not related to scene contents, or to add other sound processing nodes or mixing nodes to the audio engine. To identify the node SceneKit uses for spatializing scene sounds when connecting other nodes, use the audioEnvironmentNode property.

## See Also

### Working With Positional Audio

- [audioListener](scenekit/scnscenerenderer/audiolistener.md)
- [audioEnvironmentNode](scenekit/scnscenerenderer/audioenvironmentnode.md)
