AudioListener: upZ property
Web Audio API
Web Audio API
The `upZ` read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the up direction the listener is pointing in.
> [!NOTE]
> The parameter is _a-rate_ when used with a PannerNode whose PannerNode is set to equalpower, or _k-rate_ otherwise.
## Value
An AudioParam. Its default value is 0, and it can range between positive and negative infinity.
## Examples
See [`BaseAudioContext.createPanner()`](/docs/Web/API/BaseAudioContext/createPanner#examples) for example code.
## Specifications
## Browser compatibility
## See also
- [Using the Web Audio API](/docs/Web/API/Web_Audio_API/Using_Web_Audio_API)
Cite this
"AudioListener: upZ property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/upZ JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy