Hello everyone, i'm making an educational game using blockly and currently having two big problems, all blocks in my workspace are custom blocks i made and they all work as intended.
First problem (more urgent) is that i really need to get something like an array of all the blocks that are currently placed, either by ID or block name...
Second problem is that i cant seen to find a way to reference placed blocks, for example, i want to highlight blocks as my game runs, i know there's a blockly function called BlockSvg.addSelect() but i cant seen to find a way to implement it and make it work on the blocks i want!
Can anyone help me? i've been cracking my head against this for a few weeks on and off now, its hindering my project too much.
Thank you all very much for your time, happy coding!