What are snapblocks?

What are snapblocks?

It’s an extension that allows you to display blocks in the forum by using typed syntax. It’s a fork of the similar Scratchblocks extension and is maintained by @ego-lay_atman-bay. To use it, put the syntax between [snapblocks] and [/snapblocks] tags. If you would like the blocks to be in the same line as your text, use [sb] and [/sb] tags. You should check out the forum topic and the documentation.

Block display example:

when green flag clicked // there are comments too!
move (10) steps
say (join ({report []}@addInput::ring) [Hello World!] @delInput@verticalEllipsis@addInput)

Inline example: lorem ipsum ((5)+(7)) dolor sit amet

An alternative is to right click a script in the editor and click script pic. An image of the selected script will be downloaded to your device. result pic creates an image of the script and its result (the little speech balloon). What’s interesting about the script and result pics is that you can drag them back into the editor and load them as actual blocks.

Personally, I use Snapblocks for simple, one-off occasions. I use script pics for complicated or existing scripts.

I hope this helps! I can go more in-depth if you’d like!

move (10) steps
say (join ({report []}::ring [Hello World!] @delInput@addInput)[/sb]``

Even better

when flag clicked
move (10) steps
say (join ({report []} @addInput) @delInput @verticalEllipsis @addInput)
when flag clicked
move (10) steps
say (join ({report []} @addInput) [Hello world!] @delInput @verticalEllipsis @addInput)

you can also just search the forum.

He advices you

Sorry, but what value does your post comprise? It looks a little off-topic.

It is proof that is that's how snapblocks work. I confirm that is correct.

how'd you get the black outline on the snapblocks?

It's just done by putting + at the start of the block. This is a debug feature that's in scratchblocks, and since it's just a debug feature, I'm not going to try to make it actually look good.

ok but it was off topic

that is not proof bro

please stop posting a bunch of consecutive replies.

:laughing: