Source:getVolumeLimits

Returns the minimum and maximum volume of the Source. These limits have priority over the parameters set by Source:setFalloff and Source:setCone, so they can be used to make sure a Source can always be heard even if it's far away.

min, max = Source:getVolumeLimits()

Arguments

None

Returns

NameTypeDescription
minnumberThe minimum volume of the Source.
maxnumberThe maximum volume of the Source.

See also