diff --git a/blocks_vertical/sound.js b/blocks_vertical/sound.js index 4142193f75..de0ad9060e 100644 --- a/blocks_vertical/sound.js +++ b/blocks_vertical/sound.js @@ -492,3 +492,19 @@ Blockly.Blocks['sound_getSoundVolume'] = { }); } }; + +Blockly.Blocks['sound_currentlyPlayingSounds'] = { + /** + * pm: Block to report the volume of a sound at the current position. + * @this Blockly.Block + */ + init: function () { + this.jsonInit({ + "message0": "currently playing sounds", + "args0": [], + "category": Blockly.Categories.sound, + "checkboxInFlyout": true, + "extensions": ["colours_sounds", "output_string"] + }); + } +};