First-class hat blocks

Yeah, that sounds interesting. Preferably (for me anyway) as animated gif as an alternative to whatever real video format you're thinking about.

We already do that!

Yeah I want the whole colors library built in! :~)

Cool. How many digits do you get if you divide 1 by 3?

Ugh, sorry, I hate this one. It's a way for users to write programs that nobody except themself will be able to read.

I have this reply for you:

Yeah, I kind of feel like the hat block option is already going a little bit far in the opening dialogue (besides making it wider than it should be) - maybe it should be hidden under an arrow (alongside cap blocks, seeing as we're talking about syntactic sugar?) like the input dialogue.

Other block shapes should be unnecessary - if the block reports a list, maybe it should be in the list category, if it reports a sprite maybe it should be in sensing or control, etcetera. I kind of feel like Booleans aren't really necessary, exactly... except that their specific purpose is very important for new users to understand. Other block shapes will add confusion and complication - if you feel the need for a different shape, maybe you should just make a clearer block label/help text.

Yeah, not to mention, people come to us from Scratch expecting them.

i've used this feature to recreate the when I am touching [ V]::events hat hacked block from scratch 3, as it would probably be useful for some projects

link

ehat is that

Voila! (I suppose this topic is getting a little long)

but what does it actually mean?

it just means no functional difference, just aesthetic difference.

oh

I was working on adding the background to custom hat c-slots in snapblocks, and I checked to see what they looked like in flat design, and, there's no outline showing that there's even a c-slot.

Just for reference, here's the same block in 3d design.

I feel like there should be an outline added to the c-slot, kind of like this.


(snapblocks render)

yes. you're right. And probably there shouldn't be a background either.

@bh can you please remove the hat part of the “why can’t I create a c shape or hat” topic?
(Why can't I create C-shaped blocks or hat blocks?)

They're referring to this faq post.

yeah

I mean, I would say caps would be under commands, and hats would be under predicates.
EDIT: maybe condition could go under hat too

Yeah good point! Thanks for the reminder.

:slight_smile:

can you please add a part in the topic about condition vs event?

I did talk about events, but not conditions, because the FAQ question wasn't "please put the reference documentation for hat blocks in the FAQ." :~)

where is this supposed to be?

oh.