Skip to content

Commit

Permalink
new block p3/4
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkPool-SP authored Aug 17, 2024
1 parent 4ef048b commit 6398e33
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions blocks_vertical/procedures.js
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,25 @@ Blockly.Blocks['argument_editor_string_number'] = {
removeFieldCallback: Blockly.ScratchBlocks.ProcedureUtils.removeArgumentCallback_
};

Blockly.Blocks['procedures_set'] = {
init: function() {
this.jsonInit({
"message0": 'set %1 to %2',
"args0": [
{
"type": "", // Intentional
"name": "PARAM"
},
{
"type": "input_value",
"name": "VALUE"
}
],
"extensions": ["colours_more"]
});
}
};

Blockly.Blocks['procedures_return'] = {
init: function() {
this.jsonInit({
Expand Down

0 comments on commit 6398e33

Please sign in to comment.