Add sound.enabled

2026-03-16 11:08:15 +01:00
parent 10a7f8cc57
commit 2558abfba2

22
sound.enabled.md Normal file

@@ -0,0 +1,22 @@
# sound.enabled()
Obté si el so està habilitat.
# sound.enabled(value)
Estableix si el so està habilitat o no.
### Paràmetres
* value — true per habilitar, false per deshabilitar.
### Torna
Un valor booleà indicant si el so està habilitat (només en la versió de lectura).
### Exemple
```
if not sound.enabled() then
sound.enabled(true)
end
```
### Vore també
* [sound.play](sound.play)
* [sound.stop](sound.stop)