Part of StarfallEx namespace
๐ External
Sound:setVolume(vol, fade)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Sets the volume of the sound. Won't work unless the sound is playing.
Parameters
| Name | Type | Description |
|---|---|---|
vol | number | Volume to set to, between 0 and 1. |
fade? | number | Time 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.