zhuweicao / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

How to create types to restrict connections between few custom blocks? #269

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I have created my own custom blocks using Block factory. Now I need to restrict 
the connections between certain custom blocks. How do I achieve it?

Thanks in advance.

Original issue reported on code.google.com by fasilamh...@gmail.com on 15 Mar 2015 at 8:29

GoogleCodeExporter commented 9 years ago
See this documentation:
https://developers.google.com/blockly/custom-blocks/type-checks

And this thread:
https://groups.google.com/forum/#!searchin/blockly/type/blockly/7eu9pFl_z9Q/chiJ
ozu8hm4J
Or:
https://groups.google.com/forum/#!topic/blockly/-DpcBDPTc6U

Original comment by neil.fra...@gmail.com on 29 Apr 2015 at 7:43