tp.audio.setVolume
Sets the master audio volume.
Syntax
function tp.audio.setVolume(volume)
Arguments
| Name | Type | Description |
|---|---|---|
volume |
number |
Master volume from 0 to 1. |
Returns
Nothing.
Sets the master audio volume.
function tp.audio.setVolume(volume)
| Name | Type | Description |
|---|---|---|
volume |
number |
Master volume from 0 to 1. |
Nothing.