{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[Source:getDistance]]}}
Gets the reference and maximum attenuation distances of the Source. The values, combined with the current [[DistanceModel]], affect how the Source's volume attenuates based on distance from the listener.

== Function ==
=== Synopsis ===
<source lang="lua">
ref, max = Source:getAttenuationDistances( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|ref|The current reference attenuation distance. If the current [[DistanceModel]] is clamped, this is the minimum distance before the Source is no longer attenuated.}}
{{param|number|max|The current maximum attenuation distance.}}
== See Also ==
* [[parent::Source]]
* [[Source:setAttenuationDistances]]
* [[love.audio.setDistanceModel]]
[[Category:Functions]]
{{#set:Description=Gets the reference and maximum attenuation distances of the Source.}}
== Other Languages ==
{{i18n|Source:getAttenuationDistances}}