Scratch for Java

Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.

Stage::addSound()

Adds a sound (WAV or OGG).

Examples

View on GitHub

Syntax

Java

.addSound(name, soundPath)
.addSound(soundPath)

Parameters

Name Data Type Description
name String the sound's name, for playSound(String)
soundPath String the sound file

Return

void

addSound()

Teilbare URL erstellen

Abschnitte auswählen