level 1
2
3
turtle
ARC length angle
CIRCLE radius
CLEARTEXT
HIDETURTLE
PENWIDTH width
PRINT [ . ]
RESET
SETHEADING angle
SETX x
SETXY x y
SETY y
SHOWTURTLE
maths
ARCTAN number
COS angle
INT number
RANDOM number
ROUND number
SIN angle
SQRT number
lists
BUTFIRST list
BUTLAST list
FIRST list
FPUT thing list
ITEM index thing
LAST list
LPUT thing list
SETITEM index array value
<xml id="visual" speed="3" grid="false" style="display:none;"><sprite id='5UknibX5nqDzIJte' name='garden' x='0' y='0' homex='0' homey='0' direction='0' pendown='false' visible='true' opacity='100' costume='0'><costume uuid="d5mRa2QQ7nSsBrSB" id="ax4tEXFrojSxsI4w" name="garden" width="500" height="500" background="true"/><blockly><xml xmlns="http://www.w3.org/1999/xhtml"></xml><js></js></blockly></sprite><sprite id='aiE0MULe3qKuhhDe' name='butterfly 1' x='-1' y='23' homex='-1' homey='23' direction='0' pendown='false' visible='true' opacity='100' costume='0'><costume uuid="fRF3Y0pMHr8PrNrP" id="Tr3ZTSfjGvp4nc93" name="butterfly 1" width="150" height="150"/><blockly><xml xmlns="http://www.w3.org/1999/xhtml"><block type="events_arrowkeypressed" id="1" x="5" y="33"><field name="KEY">up</field><statement name="DO"><block type="draw_changey" id="2" inline="false"><value name="VALUE"><block type="math_number" id="3"><field name="NUM">10</field></block></value></block></statement></block><block type="events_keypressed" id="4" x="-1" y="117"><field name="KEY">space bar</field><statement name="DO"><block type="draw_changex" id="5" inline="false"><value name="VALUE"><block type="math_number" id="6"><field name="NUM">10</field></block></value></block></statement></block><block type="events_arrowkeypressed" id="7" x="-2" y="206"><field name="KEY">up</field><statement name="DO"><block type="draw_changey" id="8" inline="false"><value name="VALUE"><block type="math_number" id="9"><field name="NUM">10</field></block></value></block></statement></block><block type="events_arrowkeypressed" id="10" x="1" y="315"><field name="KEY">up</field><statement name="DO"><block type="draw_changex" id="11" inline="false"><value name="VALUE"><block type="math_number" id="12"><field name="NUM">10</field></block></value></block></statement></block><block type="controls_forever" id="13" x="13" y="454"><statement name="DO"><block type="sprite_costume" id="14"><field name="COSTUMETO">fRF3Y0pMHr8PrNrP</field></block></statement></block></xml><js><![CDATA[var sprite = Sprites[1];\n\n\nsprite.keyPressed('up', function(){\n sprite.changeY(function(){return 10;}, 'block_id_2');\n}\n, 'block_id_1');\n\nsprite.keyPressed('space bar', function(){\n sprite.changeX(function(){return 10;}, 'block_id_5');\n}\n, 'block_id_4');\n\nsprite.keyPressed('up', function(){\n sprite.changeY(function(){return 10;}, 'block_id_8');\n}\n, 'block_id_7');\n\nsprite.keyPressed('up', function(){\n sprite.changeX(function(){return 10;}, 'block_id_11');\n}\n, 'block_id_10');\n\nwhile (visual.evaluateWhileCondition(function(){ return true; }, sprite, '13')) {\n sprite.changeCostumeTo('fRF3Y0pMHr8PrNrP', 'block_id_14');\n visual.gotoEvaluateWhileCondition('13');\n}\n]]></js></blockly></sprite><sprite id='REjeTumvTU9zeNiB' name='butterfly 2' x='1' y='23' homex='1' homey='23' direction='0' pendown='false' visible='true' opacity='100' costume='0'><costume uuid="nkn1mVC1VaEm3Wfu" id="8XJnVbNNucr03Wse" name="butterfly 2" width="150" height="150"/><blockly><xml xmlns="http://www.w3.org/1999/xhtml"><block type="controls_forever" id="1" x="281" y="109"><statement name="DO"><block type="draw_edgebounce" id="2" inline="false"><field name="DIR">moveForwardAndBounce</field><value name="VALUE"><block type="math_number" id="3"><field name="NUM">30</field></block></value></block></statement></block></xml><js><![CDATA[var sprite = Sprites[2];\n\n\nwhile (visual.evaluateWhileCondition(function(){ return true; }, sprite, '1')) {\n sprite.moveForwardAndBounce(function(){return 30;}, 'block_id_2');\n visual.gotoEvaluateWhileCondition('1');\n}\n]]></js></blockly></sprite></xml>
Your browser doesn't support canvas tags.