Discuss Scratch
- Discussion Forums
- » Suggestions
- » Make it possible to change if to if-else blocks by right-clicking
- oblatespheroid
-
36 posts
Make it possible to change if to if-else blocks by right-clicking
I run into this problem a lot. It's very infuriating. Support.
However, what would happen to the scripts in the ‘else’ part if you switch to ‘if’?
However, what would happen to the scripts in the ‘else’ part if you switch to ‘if’?
- Ravenpaw-Warrior
-
100+ posts
Make it possible to change if to if-else blocks by right-clicking
Semi-support. What if they don't have a right click? //coughcoughsorrylaptopscoughcough// And, just take out the script inside and get
if <> then
else
end
- Delphox915
-
100+ posts
Make it possible to change if to if-else blocks by right-clicking
Support.
- Leadrien2366
-
100+ posts
Make it possible to change if to if-else blocks by right-clicking
Support.
and i'm now rarely active in forum, i need clear my post and restart over again to make a better post.
and i'm now rarely active in forum, i need clear my post and restart over again to make a better post.
- olivegranger
-
100+ posts
Make it possible to change if to if-else blocks by right-clicking
Are people really that lazy? No support, they are two blocks with similar names but too different purposes to be converted like that.
- Sheep_tester
-
500+ posts
Make it possible to change if to if-else blocks by right-clicking
Yes, unfortunately we are. But this also can reduce the chance of crashing when dragging a long script. Are people really that lazy? No support, they are two blocks with similar names but too different purposes to be converted like that.
- jerry1000
-
100+ posts
Make it possible to change if to if-else blocks by right-clicking
Are people really that lazy? No support, they are two blocks with similar names but too different purposes to be converted like that.
But they do not have that much different purpose, the if block checks if something is true then executes it and the if else block does the same thing but it also doubles as a blocks checking if something is false instead of just true. I can't really explain it that well but you can kind of see where I'm coming from.
- Invisible_Factory
-
500+ posts
Make it possible to change if to if-else blocks by right-clicking
Support, really useful when you have the realization you need an if else block instead.
- fredfish10
-
100+ 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
i agree
- olivegranger
-
100+ posts
Make it possible to change if to if-else blocks by right-clicking
Are people really that lazy? No support, they are two blocks with similar names but too different purposes to be converted like that.
But they do not have that much different purpose, the if block checks if something is true then executes it and the if else block does the same thing but it also doubles as a blocks checking if something is false instead of just true. I can't really explain it that well but you can kind of see where I'm coming from.
I think it would be better if maybe the two blocks weren't right next to each other in the script box, that would make it easier to tell them apart I guess…
- liam48D
-
1000+ posts
Make it possible to change if to if-else blocks by right-clicking
We aren't lazy, we just like to Are people really that lazy? No support, they are two blocks with similar names but too different purposes to be converted like that.save time.

Last edited by liam48D (Feb. 28, 2016 20:55:01)
- Ninkancho
-
500+ posts
Make it possible to change if to if-else blocks by right-clicking
Support. This would be so helpful and I've run into the same problem on an almost constant basis. It isn't fun grabbing a long stack from beneath an if loop, waiting for the lag to subside, dropping it in empty space, removing the condition and contents from the if and dropping them elsewhere, deleting the if, dragging in a new if-else, dropping it into the script, dropping the condition and contents back in, and laggily dragging and dropping the remainder of the script back underneath the if-else, all just to add a simple failsafe or whatnot.
I'd like to see more such solutions as well for blocks in the same group, like switching between x and y in the relevant motion blocks, or switching between playing a sound and playing it until it's done. If the Scratch Team can add a list of variables that updates in realtime to a context menu section, I don't see why they can't do the same for switching between related blocks that aren't necessarily math-based operators.
I'd like to see more such solutions as well for blocks in the same group, like switching between x and y in the relevant motion blocks, or switching between playing a sound and playing it until it's done. If the Scratch Team can add a list of variables that updates in realtime to a context menu section, I don't see why they can't do the same for switching between related blocks that aren't necessarily math-based operators.
- awesome-llama
-
1000+ posts
Make it possible to change if to if-else blocks by right-clicking
BUMP
- wayyyy
-
500+ posts
Make it possible to change if to if-else blocks by right-clicking
Support
- A-no-meep
-
100+ posts
Make it possible to change if to if-else blocks by right-clicking
Support!
- ChatUser2
-
100+ posts
Make it possible to change if to if-else blocks by right-clicking
Support. In a sprite I have a large script so it's laggy to edit in this sprite, and I needed to change if to if, else to fix the bug in my game.
- kenny2scratch
-
500+ posts
Make it possible to change if to if-else blocks by right-clicking
How about when you have huge scripts that will lag the editor a lot when moved around? I support, although its not that hard to just swap them…
The solution to that would be slightly more complicated to implement. One way that might avoid this problem (although possibly infuriate some people) is to make it impossible to change back to if from if/else. I can't remember any time I had to change from if to if/else, I've only ever done vice versa. if you want to go back to a normal “if/then” loop, you would sometimes end up with weird script isolation…
Still, support.
- A_Geeky_Jawa
-
100+ posts
Make it possible to change if to if-else blocks by right-clicking
Support!
//coughcoughsorrylaptopscoughcough// And, just take out the script inside and getIt is possible to use left click functions on the laptop. Tap the mousepad thing with 2 fingers to do a left click. Semi-support. What if they don't have a right click?if <> then
else
end
Last edited by A_Geeky_Jawa (Jan. 18, 2017 14:41:04)
- VideoGamerCanInvent
-
1000+ posts
Make it possible to change if to if-else blocks by right-clicking
Support
The work around is so easy but it would be nice to have.
The work around is so easy but it would be nice to have.
- space_elephant
-
500+ posts
Make it possible to change if to if-else blocks by right-clicking
It could also be like this
if<>then{}@addInput::controland when you click the arrow it switches to the other block.
if<>then{}else{}@delInput::control
- Discussion Forums
- » Suggestions
-
» Make it possible to change if to if-else blocks by right-clicking