How do I make two parts of a block expand together?

I'm trying to make an expandable if, else if, else block.

Hi, welcome to the forum!

We've known since forever that we need to invent that feature, but haven't done it yet. Meanwhile, go to filebutton > Libraries > Multi-branched conditional to see how we solve this problem.

It is not currently not possible to create something like this
[scratchblocks]
if <> {
...
} else {
...
} @addInput :: control
[/scratchblocks]
That turns into this

[scratchblocks]
if <> {
...
} else if <> {
...
} else {
...
} @delInput @addInput :: control
[/scratchblocks]

Or at least without javascript, and not being able to save the project with the block

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.