Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.Sound:setVolume

S๐Ÿท๏ธ Sound

Part of StarfallEx namespace

๐Ÿ”— External
Sound:setVolume(vol, fade)
View on GitHub|lua/starfall/libs_sh/sound.lua:152
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Sets the volume of the sound. Won't work unless the sound is playing.

Parameters

NameTypeDescription
volnumberVolume to set to, between 0 and 1.
fade?numberTime in seconds to transition to this new volume. Default 0

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.