A new type of block slot called the %label slot. It can’t be edited directly, but can only be edited in the block editing window. Looks just like a normal label.
The (var) block would no longer be hardcoded this way!
With static, read-only slot
![]()
Yes, the solution works for the semantics, but not the appearance.
This would be so useful for my one-blocks (see this post). We also need, generally, more slots that can be edited with the set slot block. Maybe even a button slot that might be useful? That’ll be useful for blocks even in a library, even though I can’t think of any uses.
yes! absolutely! this is so useful!
EDIT:
what @redgeographysnap was what I had in mind, since what I first thought about was how I can use this to not have to use pen down? <t> clear after? <f> and instead just say pen down @< clear after @< .
It would also be useful for expandables!
do something $> do something and another thing $<
In my opinion, if you’re trying to do something like this, different blocks are better. You’re basically reinventing relabel but with more complexity at this point.
have you not seen blocks that are like move (10) steps backwards? <> pen down? <> fill? <>
yes, sometimes the blocks are actually useful unlike the example, and in those cases creating a new block is kinda annoying.
Why have
(numbers from (1) to (10)) AND (numbers ascending from (1) to (10) ::lists) ? Especially when the second option, likely doesn’t fit in the palette’s default left to right space anyway?
