nanos world API Reference Unofficial documentation
Function Client Fast

Sound:SetVolume

Sets the Sound's volume

Syntax

Lua
my_sound:SetVolume(new_volume)

Parameters

Name Type Default Description
new_volume float — from 0.0 to 1.0