Scratch for Java

Stage::isSoundPlaying()

Returns true if the sound is playing

Syntax

Java

.isPlaying()

Scratch

<is sound (name) playing>

Parameters

Name Data Type Description
name String The name of the sound to check for.

Return

boolean

isSoundPlaying()