Discuss Scratch

Joaovtor
Scratcher
49 posts

Add a return custom block variable

When you create a block, (For whatever purpose) it might give something back like
Doa+bresult
or the official
askWhat's your name?andwaitanswer
As the ask block returns (awnser), we could be able to create some sort of custom variable in form of a output to an custom block, for the purpose of other people using your custom blocks, such as
MorsetextMorseCode
(MorseCode would be in purple)
idk just a suggestion, i know it can be done with normal variables but they can be changed anywhere and it is hard to tell the difference between variables and values being returned by custom blocks
As in my signature, if we could set a variable by another variable, we woudn't need something like this, but i don't know witch one would be better

Last edited by Joaovtor (Oct. 1, 2020 01:39:19)

mybearworld
Scratcher
1000+ posts

Add a return custom block variable

Workaround:
defineblahinputset/ output / blahtoabc xyz
That would sort the outputs and is an easy workaround.
sportfan999
Scratcher
1000+ posts

Add a return custom block variable

mybearworld wrote:

Workaround:
defineblahinputset/ output / blahtoabc xyz
That would sort the outputs and is an easy workaround.
Just because something's workaroundable doesn't mean you shouldn't like it.

I for one support this. Good job on your suggestion!
Joaovtor
Scratcher
49 posts

Add a return custom block variable

Not everyone knows what are and what aren't workarounds it would just be easier to understand and a little more intuitive
Paddle2See
Scratch Team
1000+ posts

Add a return custom block variable

It looks like this is a duplicate topic of this one over here so I'll close it to keep the conversation all in one place.

Please use the existing topic in the link above.

Powered by DjangoBB