Discuss Scratch

windows_old
Scratcher
6 posts

how do i change variables on scratch

i cant change variables on scratch even if i click on them
ErnieParke
Scratcher
1000+ posts

how do i change variables on scratch

To change a variable, you just take the Scratch block that looks like [set to ( )], you put whatever value you want into the blank, and you click it. Or, you could try putting it in a script if you need the script to change them.

Any other questions?

Also, hello windows_old and welcome to Scratch! I hope that you'll have a smooth road to making whatever you love while here!

With respects,

ErnieParke

footsocktoe
Scratcher
1000+ posts

how do i change variables on scratch

And if you change the variable to “slider” and “show” then you can change the variable right from the player screen!


SHOOT THE SPACE MONSTERS! ….. A game everyone can play! Bright colors, bonky sounds!
THE 12 BALLS OF CRAZY AL ……. New scrolling adventure game!

windows_old
Scratcher
6 posts

how do i change variables on scratch

no i mean when i have 2 variables and it shows the variables of one of them but i want to switch to the other variable
turkey3
Scratcher
1000+ posts

how do i change variables on scratch

I made a script here in my scripts sandbox for you. Just scroll down until you see your username. It shows how to set one variable to another.

Powered by DjangoBB