Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Does anyone know how to change the color of a variable WITHOUT add-ons?
- FBcomics360
-
Scratcher
100+ posts
Does anyone know how to change the color of a variable WITHOUT add-ons?
Does anyone know how to change the color of a variable WITHOUT add-ons?
- 824488
-
Scratcher
100+ posts
Does anyone know how to change the color of a variable WITHOUT add-ons?
I don't rly know any other way to change a varibles color besides the color thingy setting in the editor
- Com_engineer_Tom
-
Scratcher
100+ posts
Does anyone know how to change the color of a variable WITHOUT add-ons?
Does anyone know how to change the color of a variable WITHOUT add-ons?f12
- asphalt10underground
-
Scratcher
58 posts
Does anyone know how to change the color of a variable WITHOUT add-ons?
The only thing I could really think of is using the Sound Block's Volume for a blank sprite and using this script
But then again by doing this, there'd be some very obvious drawbacks… which is, 1, volume being a “for this sprite only” variable, you'll be seeing the name of the sprite and volume… which you can use large view for…
The second is the range… you can only have a range from 0 - 100, not more, not less…
The third being you can't show/hide the variable later…
The fourth being volume is being affected (which can be outdone using a blank sprite)
So yes, this would work, surely there might be other ways of doing it… but it's better to use the classic variables or having a custom counter/text engine using sprites since this one has way too many drawbacks than the one good effect of having a different coloured variable…
(only for pink colour)
when green flag clicked
forever
set volume to (variable) %
end
But then again by doing this, there'd be some very obvious drawbacks… which is, 1, volume being a “for this sprite only” variable, you'll be seeing the name of the sprite and volume… which you can use large view for…
The second is the range… you can only have a range from 0 - 100, not more, not less…
The third being you can't show/hide the variable later…
The fourth being volume is being affected (which can be outdone using a blank sprite)
So yes, this would work, surely there might be other ways of doing it… but it's better to use the classic variables or having a custom counter/text engine using sprites since this one has way too many drawbacks than the one good effect of having a different coloured variable…
(only for pink colour)
Last edited by asphalt10underground (Oct. 9, 2025 16:36:00)
- nclauss
-
Scratcher
14 posts
Does anyone know how to change the color of a variable WITHOUT add-ons?
you could screenshot a variable in all its needed numbers and turn it into a sprit with all the numbers as costumes
- asphalt10underground
-
Scratcher
58 posts
Does anyone know how to change the color of a variable WITHOUT add-ons?
Randomly remembered the tempo variable (green) in music extension gives lesser drawbacks, though present
- thegreatsoph
-
Scratcher
7 posts
Does anyone know how to change the color of a variable WITHOUT add-ons?
You can make any empty sprite and then show the direction or size or something and use the code:
when green flag clicked forever set (size or direction etc.) to (name of variable)
Um sorry if this doesn’t work
when green flag clicked forever set (size or direction etc.) to (name of variable)
Um sorry if this doesn’t work
- Discussion Forums
- » Help with Scripts
-
» Does anyone know how to change the color of a variable WITHOUT add-ons?





