mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
classref: Sync with current master branch (46a568e0a)
This commit is contained in:
@@ -17,7 +17,9 @@ Plays positional sound in 2D space.
|
||||
Description
|
||||
-----------
|
||||
|
||||
Plays audio that dampens with distance from screen center.
|
||||
Plays audio that dampens with distance from a given position.
|
||||
|
||||
By default, audio is heard from the screen center. This can be changed by adding an :ref:`AudioListener2D<class_AudioListener2D>` node to the scene and enabling it by calling :ref:`AudioListener2D.make_current<class_AudioListener2D_method_make_current>` on it.
|
||||
|
||||
See also :ref:`AudioStreamPlayer<class_AudioStreamPlayer>` to play a sound non-positionally.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user