Discuss Scratch

awesome-llama
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

If you right-click an if block, you should be able to select an option to change to if-else blocks.
Sometimes I drag an if block and put scripts into it, then notice it should have been an if-else block instead. Now I have to drag the script out, and grab an if-else block.
Q. What happens when an if else changes to an if?
A. If there is a script in the else part of the block when it is converted from if-else to if, the script could just move out.

Q. But you can manually drag the blocks from the pallette instead.
A. It is more efficient to use this idea, saving time and having less chance to ruin/misplace blocks in a script you are moving.

Last edited by awesome-llama (Jan. 18, 2017 20:13:50)

DrKat123
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

Support. This would help a lot.

Last edited by DrKat123 (Nov. 18, 2015 07:31:58)

ChildCritic
Scratcher
500+ posts

Make it possible to change if to if-else blocks by right-clicking

Support. the workaround is only useful when the editor doesn't lag.
baconlover5555
Scratcher
100+ posts

Make it possible to change if to if-else blocks by right-clicking

its not that hard to just swap them…
Failord
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

baconlover5555 wrote:

its not that hard to just swap them…
True, and if you want to go back to a normal “if/then” loop, you would sometimes end up with weird script isolation…

But still, support.
wizard192
Scratcher
100+ posts

Make it possible to change if to if-else blocks by right-clicking

Support! It would be a helpful feature.
Zekrom01
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

Definite support due to the amount of convenience it would bring. I just feel that replacing an
if <> then

end
block would be a definite waste of time.
Blank1234
Scratcher
500+ posts

Make it possible to change if to if-else blocks by right-clicking

Support. I often run into this problem.
awesome-llama
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

bump!
NoMod-Programming
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

Support.
liam48D
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

Support. If there is no script inside the else part, you should also be able to convert to an if.
powershack
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

Support.
awesome-llama
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

Bump
awesome-llama
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

Bump

Last edited by awesome-llama (Dec. 11, 2015 04:57:32)

jerry1000
Scratcher
100+ posts

Make it possible to change if to if-else blocks by right-clicking

Support! This would save sooooo much time (Supporter #13)
dimitrip
Scratcher
500+ posts

Make it possible to change if to if-else blocks by right-clicking

Hi.
I suggest you systematically use if-then-else blocks, even when a simple if would suffice (leaving an empty lag in that case).
Greetz.
Dimitri
jerry1000
Scratcher
100+ posts

Make it possible to change if to if-else blocks by right-clicking

dimitrip wrote:

Hi.
I suggest you systematically use if-then-else blocks, even when a simple if would suffice (leaving an empty lag in that case).
Greetz.
Dimitri

We're to lazy for that…
LastAttack1257
Scratcher
100+ posts

Make it possible to change if to if-else blocks by right-clicking

jerry1000 wrote:

dimitrip wrote:

Hi.
I suggest you systematically use if-then-else blocks, even when a simple if would suffice (leaving an empty lag in that case).
Greetz.
Dimitri

We're to lazy for that…

Lol, yeah, we are. And support
ThrustCreations
Scratcher
18 posts

Make it possible to change if to if-else blocks by right-clicking

I am supportive of this idea, I also think this should be done with show/hide and show/hide variable
scrooge200
Scratcher
1000+ posts

Make it possible to change if to if-else blocks by right-clicking

Support.

Powered by DjangoBB