Skip to content

Components

AudioListener

Where the mix is heard from, when the camera is not standing where the player is. The first enabled one in hierarchy order wins; with none in the scene, the mix is heard from the active camera instead.

On this page

Add it

+ Add node → Audio Listener creates a node with it already on. Already have a node for it? Add component → AudioListenerComponent.

From a script

A script on the same node writes these fields by name. AudioListenerComponent is the name to pass.

rgs
set_flag("AudioListenerComponent", "enabled", true);

Fields

FieldScript nameKindDefaultWhat it does
EnabledenabledcheckboxonHear the mix from this node instead of the camera.