Blocly connection can't be made if it's starting block

45 views
Skip to first unread message

Rioni

unread,
May 3, 2024, 10:49:26 PM5/3/24
to Blockly
I have a block that has an array of "particles", when I try to attach a block "typeof" whose output is Particle, it doesn't work, but if I take a external array of particle blocks it works. It only doesn't work when the array is a field embedded on the block.

Images:

nice.pngnotnice.png

You can see how in the example above, I can put the block inside, but in the example below I can't despite being the same block. Weirdly anough, I can put my "typeof" block in the above one, and then put that one in the below one which is counterinuitive:

wtf.png

What could be going on?

Beka Westberg

unread,
May 6, 2024, 12:22:02 PM5/6/24
to blo...@googlegroups.com
Hello,

Do your block definitions have connection checks on them? If so, could you post what those connection checks are? I imagine there's probably something tricky going on there!

Hopefully with a bit more info we can get this sorted =)

Best wishes,
--Beka

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/41d62e1d-f85b-4edf-86f0-7646376063a3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages