Discuss Scratch
- -Osiris-
-
100+ posts
Make C Blocks Collapsible
Support! I would love to use this in my projects, and I can find so much uses for this! My favourite use I can think of is having the blocks be like this:if <[potato]=[potato]> then // this would always be true and can be treated as something to save space.
...
Um… I don't think you get what I'm suggesting… What I'm suggesting is that C blocks be collapsible. I don't see how that has anything to do with your example.
Also, there's no point in using an if block if you're going to set it to check the condition of something that's always true.
- Cub56
-
1000+ posts
Make C Blocks Collapsible
Support - I work on big projects which have scripts that take up lots of space, requiring lots of scrolling. You could easily expand the block again.
- 1a3c5e7g9i
-
100+ posts
Make C Blocks Collapsible
s t r e s s f u l .Duplicate of thisIt would be stressful to put this every time we want to put a c-block that we can shorten:um no title at all, lol... {
if <> then
...
end
} :: grey
Sorry, false alarm.
- 77Tigers_Test
-
30 posts
Make C Blocks Collapsible
Support, I was thinking of suggesting this. It would be really useful.
- hedgehog125
-
100+ posts
Make C Blocks Collapsible
Definitely support. This could make it a look easier to look through long scripts.
- finnb4513
-
100+ posts
Make C Blocks Collapsible
Here is a better example of what I was trying to say (this is in one of my projects):Support! I would love to use this in my projects, and I can find so much uses for this! My favourite use I can think of is having the blocks be like this:if <[potato]=[potato]> then // this would always be true and can be treated as something to save space.
...
Um… I don't think you get what I'm suggesting… What I'm suggesting is that C blocks be collapsible. I don't see how that has anything to do with your example.
Also, there's no point in using an if block if you're going to set it to check the condition of something that's always true.
when flag clickedThat script is very cumbersome to edit.
forever
if <mouse down> then
if <(costume #) = [1]> then
if <...>then
set [boot v] to [something]
broadcast [boot v]
end
if <...> then
... // more if ... then scripts
end
else
...
end
Please ignore the other post I made. I have to admit that I was quite stupid 10 months ago.
- JackK211424
-
500+ posts
Make C Blocks Collapsible
Note: this used to be its own topic but a st member merged it with this one, so just a little context for ya
Sometimes i have HUGE custom blocks that clutter up my space sometimes.
I have a proposal,
a little button on the side of custom blocks that allow you to show and hide them.
when you press hide, it will compress the large custom block into a smaller rounded block.
when you press show again, it will show all of the code.
here is a quick mock up i whipped up quickly
tell me your thoughts!
Sometimes i have HUGE custom blocks that clutter up my space sometimes.
I have a proposal,
a little button on the side of custom blocks that allow you to show and hide them.
when you press hide, it will compress the large custom block into a smaller rounded block.
when you press show again, it will show all of the code.
here is a quick mock up i whipped up quickly
tell me your thoughts!
Last edited by JackK211424 (June 21, 2021 19:11:31)