Skip to content

care.temp.audio.Source:setVolume

Method

Sets the volume of the source.

Syntax

source:setVolume(volume)

Arguments

Name Type Description
volume number Source volume from 0 to 1.

Returns

Nothing.

Example

music:setVolume(0.25)