Tutorial: How to put variables in colour slots

Tutorial: How to put variables in colour slots, and what you can use that for.
I’ve seen some people don’t know how to do this, so here:


Get a Wait block and put a variable in it.
Get a Set Colour block, or any other block with a colour slot.
Drag the variable from the Wait block into the colour block.
You now have a variable in a colour block!


Some things you can use this for:
Making art pads with a cycling colour selection thingy.
Selecting colours through numbers.


Some Functionality:
The first colour (Dark Purple) has the value of 0.
The second colour (Bright Purple) has the value of 1.
The third colour has the value of 2.
etc…


Some Quirks:
Also, the new(ish) brown colours don’t work with numbers. It cycles back to the beginning instead of showing the brown/peach. More on this in this topic.


Please reply with feedback, since I probably explained this badly.

17 Likes

Naw this seems coolio!

5 Likes

Try to incorporate images

4 Likes

What if you don’t have a mouse?

2 Likes

This is for… Hopscotch.

3 Likes

Yea srry it didn’t work for meh and drag is a word I mean with computer for some reason

2 Likes

Drag should work for you.

Set Color ()

Set Speed ()

Tap on the set speed parameter, then drag a math block or variable to the color

2 Likes

Oh sorry drag
I just tap it
Srry for wasting your time! ;-;

1 Like

I code most of my project with the old Hopscotch editor even if I have the new one! I use the new one too, of course, and sometimes both for one project. This method was very common to use back in the days before you could put variables in HSB-blocks. You could pretty much only set the standard colors using variables.

So, I am aware of this and still use it! I personally think that it is a great and easy method.

4 Likes

Yup I definitely remember using this. THT had actually called this a “feature” later. It was first discovered, then a trail art rose video came out using that trick

4 Likes

Love it! So clear and coherent.

6 Likes

Yee lol thanks

1 Like