Return values from custom blocks

A feature I’d like to see in Hopscotch is:

The ability to return values from custom blocks that will be local varaibles in the scope outsie the custom block

I’d use it for this type of project:

Pretty much everything

Here are some examples of Hopscotch code that could be improved if we had this:

Say you have some variable which stores a color. You then make a custom block to get the h, s, and b values from that color to use in a drawing. It would be neater if you could use local variables for the results (and also the inputs but I think that’s already coming)

8 Likes