- Documentation
- Client functions
- getSoundEffectParameters
Function
getSoundEffectParameters
Returns an effect's current parameters: name → value.
Syntax
table getSoundEffectParameters(sound theSound, string effectName)Arguments
theSoundsound- The sound.
effectNamestring- The effect name.
Returns
A table of parameters or false.
Example
local music = playSound("audio/radio.mp3", true)
iprint(getSoundEffectParameters(music, "reverb"))