Skip to content

API > AudioSource > maxDistance


AudioSource.maxDistance⚓︎

Name Type
maxDistance number

Description⚓︎

(Logarithmic rolloff) MaxDistance is the distance a sound stops attenuating at.
(Linear rolloff) MaxDistance is the distance where the sound is completely inaudible.