Page 1 of 1
Blockly: "AND"-block connected to 3 blocks
Posted: Tuesday 05 January 2016 21:46
by Evelen
Where can i Find this "and" block that is connected to 1 block on left and 2 at the right?
(image from google):

- s.png (35.92 KiB) Viewed 1405 times
All have is this:

- w.png (2.99 KiB) Viewed 1405 times
Re: Blockly: "End"-block connected to 3 blocks
Posted: Tuesday 05 January 2016 23:01
by cjnicholl
Right click on the block and select "External Inputs". This will change the block shape to the one in red circles.
Re: Blockly: "End"-block connected to 3 blocks
Posted: Tuesday 05 January 2016 23:50
by Evelen
thx.
i works.
now, why is this a usefull thing to do? just to make the code easy to read or can i do somthing more with this "new end"?
Re: Blockly: "End"-block connected to 3 blocks
Posted: Wednesday 06 January 2016 12:52
by cjnicholl
As far as I know it's exactly the same, just makes certain layouts easier to read.
I use a combination of both.
Re: Blockly: "AND"-block connected to 3 blocks
Posted: Wednesday 06 January 2016 15:37
by smokinjoev
It comes in handy when you have several booleans nested.... event A AND event B AND event C AND event D
Your line become quite long.