I need help making these types of blocks. I can't figure it out.
If someone can help, that'd be greatly appreciated.
P.S. I browsed through the metadata of these types of images, and I found out the script is stored in an object named "Snap SRC". That's probably how dragging scripts works. Nice.
To turn a script into a list of blocks, you can use
or
and either way, you can use the and primitives to get the number of blocks in the script or a certain block of the script.
This helps a lot. How do I combine blocks in respective order? Like this"
// == CONTENTS OF LIST BELOW ==
{change x by ()}@</span>addInput::grey ring
//block 1
{change y by ()}@</span>addInput::grey ring
//block 2
combine ring list (list) :: pen reporter //reports below
{change x by ()
change y by ()}@</span>addInput::grey ring