修改块

This commit is contained in:
Irene-Maxine
2025-08-01 22:50:05 +08:00
parent f75141b3bb
commit a632268f60
26 changed files with 343 additions and 65 deletions

View File

@@ -1838,3 +1838,16 @@ export const record_audio = {
this.setInputsInline(true);
}
};
export const set_music_volume ={
init: function () {
this.setColour(ACTUATOR_ONBOARD_HUE);
this.appendValueInput('percent')
.appendField(Blockly.Msg.MIXLY_MUSIC_VOLUME_SET);
this.appendDummyInput()
.appendField('%');
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setInputsInline(true);
}
};