Skip to main content

blockly > WorkspaceAudio > setMuted

WorkspaceAudio.setMuted() method

Signature:

setMuted(muted: boolean): void;

Parameters

Parameter

Type

Description

muted

boolean

If true, mute sounds. Otherwise, play them.

Returns:

void