Discuss Scratch

Toodchop
Scratcher
100+ posts

Elif (else-if) block

I think an expandable “if” block would be nice.

if <> then {

} else if <> then @delInput {

} else @delInput {

} @addInput :: control

Last edited by Toodchop (Nov. 10, 2025 09:24:16)

Alex5002
Scratcher
94 posts

Elif (else-if) block

Yes please !
Stacking if else E blocks is monstruous and ugly to me.
Alguien_Miitopia
Scratcher
8 posts

Elif (else-if) block

that was a scratch 1.4 feature btw
it would ACTUALLY look like this:
if <> then {



} else if <> {


}::control

Last edited by Alguien_Miitopia (Nov. 3, 2025 15:03:24)

PIXEL_BY_PIXEL_ERROR
Scratcher
500+ posts

Elif (else-if) block

Alguien_Miitopia wrote:

that was a scratch 1.4 feature btw
it would ACTUALLY look like this:
if <> then 



else if <>



end
end
I think k you got confused with the
forever if {
...
}‍::events
CodeComet6161
Scratcher
1000+ posts

Elif (else-if) block

if <needs this block::operators> then{
say [bump]
}else if <doesn't need this block::operators> then{
set [need for elif v] to [true]
}else{
wait until <this block is implemented::operators>
}::control

Powered by DjangoBB