Skip to content

Enum

Enum.RollOffMode

How Sounds parented to a BasePart or Attachment attenuate (fade out) as the distance between the listener and the parent increases.

Official docs ↗
ItemValueSummary
Enum.RollOffMode.Inverse0Volume attenuates from Sound.RollOffMinDistance in an inverse manner, mirroring how sounds attenuate in the real world. This is done through Sound.RollOffMinDistance/distance, where distance is the Ve
Enum.RollOffMode.Linear1Volume attenuates between Sound.RollOffMinDistance and Sound.RollOffMaxDistance with a linear relationship. This is done through (Sound.RollOffMaxDistance/distance)/(Sound.RollOffMaxDistance-Sound.Rol
Enum.RollOffMode.LinearSquare2Volume attenuates between Sound.RollOffMinDistance and Sound.RollOffMaxDistance with a linear squared relationship. This is done through squaring Linear.
Enum.RollOffMode.InverseTapered3A hybrid model which follows the Inverse model when close to Sound.RollOffMinDistance and the LinearSquare model when close to Sound.RollOffMaxDistance. This is done by taking the lesser of Inverse an

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.