Stage::playSound()
Starts a sound, like Scratch's "start sound"; a sound that is still playing is not started again.
Examples
Syntax
Java
.playSound(name)
Scratch
start sound [name v]
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | the sound's name |
Return
void