Scratch for Java

SoundPlayback()

One play of a sound, with its own volume and stop button. Obtain it from sprite.playSoundCopy("hit", 30) or stage.playSoundCopy("hit", 30). Completed or stopped playbacks cannot be restarted; play the sound again to get a new handle. Closing a handle stops only that playback.

Examples

View on GitHub

SoundPlayback()

Create Shareable URL

Select Sections