SoundProps
Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
channel? |
VolumeChannel |
VolumeChannel.Effects |
The player’s volume setting it follows, under the master volume. |
loop? |
boolean |
false |
Starts again each time it ends, rather than playing once. |
url |
string |
undefined |
The file, a ?url import or one of sounds. |
volume? |
number |
1 |
0 is silent and 1 is the file as recorded. |