Page 87 - Touchcode_C8_Flipbook
P. 87

Step 15: From ‘Variables’ select ‘set Volume’ block and drop the block to ‘on start’ block.













                  Step 16: From ‘Functions’ select ‘call VolumeofCuboid’ block, and drop the block to ‘on

                            start’ block below the ‘set Volume’ block.














                  Step 17: Change the value of block ‘call VolumeofCuboid’ to 2, 3, 10.
























                  Step 18: Click on ‘Start’        button, present on the bottom right corner of the screen, to

                            see the output.






















                                                                                           Coding in Minecraft   85
   82   83   84   85   86   87   88   89   90   91   92