Hi,
I try to get a Blockly block like this:
I've already managed this with a XML-Toolbox, but now I want to switch to a JSON notation for my toolbox.
But I can not find any useful documentation about how I get this.
Can anyone help me?
PS: this is the XML-notation:
<block type="ast_Call" editable="false">
<mutation name="FuncName"
arguments="2"
returns="false"
parameters="true"
method="false"
message="FuncName"
premessage=""
module=""
colour="0">
<arg name="STR:0" />
<arg name="X:1"/>
</mutation>
<value name="ARG0" check="String">
<block type="ast_Str" check="String">
<field name="TEXT" check="String">Text</field>
</block>
</value>
<value name="ARG1">
<block type="ast_Num" >
<field name="NUM">1</field>
</block>
</value>
</block>