15 lines
492 B
JavaScript
15 lines
492 B
JavaScript
import * as Blockly from 'blockly/core';
|
|
|
|
export const sound_volume_set = {
|
|
init: function() {
|
|
this.setColour('#acc159');
|
|
this.appendDummyInput()
|
|
.appendField(Blockly.Msg.MIXLY_catSoundSOUND_VOLUME_SET);
|
|
this.appendValueInput("VALUE")
|
|
.setCheck(null);
|
|
this.appendDummyInput();
|
|
this.setPreviousStatement(true);
|
|
this.setNextStatement(true);
|
|
this.setTooltip(Blockly.Msg.MIXLY_SOUND_VOLUME_SET_TOOLTIP);
|
|
}
|
|
}; |