Variables to set image

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

The ability to put a variable inside of a set image block

I’d use it for this type of project:

Anything where you need to have a whole bunch of characters. For an example look at this project, which uses a bunch of check if else blocks to get the characters for the grid.

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

The set image code in the project above.

Here is an example design I’ve made:


Except bariable is an actual variable. I’ll replace it later with a better one

16 Likes

I agree with this. It’d be so useful for character selection and would otherwise only be a use of my shortcut with presets (which if that was the case, would still need updates).


@Petrichor why don’t you just use a Hopscotch bug or JSON editing to model your concept?
IMG_4446

9 Likes

This would be very cool, indeed!

4 Likes

Yes!! I’ve been trying to do this for forever but it never worked : (

4 Likes