Discuss Scratch
- Discussion Forums
- » Suggestions
- » Change Slider Min/Max with scripts
- KittenDude172
-
100+ posts
Change Slider Min/Max with scripts
Changing slider Min/Max with scripts can look something like this but in orange
set slider min [Frogs v] to [3]
set slider max [Kittens v] to [12]
Last edited by KittenDude172 (Jan. 17, 2019 01:53:19)
- sk7725
-
33 posts
Change Slider Min/Max with scripts
Changing slider Min/Max with scripts can look something like this but in orangeset slider min [Frogs v] to [3]
set slider max [Kittens v] to [12]
set slider min [Frogs v] to [3] :: variables
set slider max [Kittens v] to [12] :: variables
You mean these?
- KittenDude172
-
100+ posts
Change Slider Min/Max with scripts
Changing slider Min/Max with scripts can look something like this but in orangeset slider min [Frogs v] to [3]
set slider max [Kittens v] to [12]set slider min [Frogs v] to [3] :: variables
set slider max [Kittens v] to [12] :: variables
You mean these?
Yeah! didn't know you could do that! thanks!
- plit234
-
91 posts
Change Slider Min/Max with scripts
Changing slider Min/Max with scripts can look something like this but in orangeset slider min [Frogs v] to [3]
set slider max [Kittens v] to [12]
No support,it's only January so Scratch 3 will have slider maximum and minimum soon,you could use Scratch 2 or 1.4 to do that.
Otherwise,you'll have to wait for a-while.
Sadly,my signature disintegrated because of Thanos Cat's snap. Insert endgame spoilers here
- KittenDude172
-
100+ posts
Change Slider Min/Max with scripts
Changing slider Min/Max with scripts can look something like this but in orangeset slider min [Frogs v] to [3]
set slider max [Kittens v] to [12]
No support,it's only January so Scratch 3 will have slider maximum and minimum soon,you could use Scratch 2 or 1.4 to do that.
Otherwise,you'll have to wait for a-while.
@plit234 However, it was never a feature for scratch 2.0, it is for other projects where you want to change slider min/max multiple times in one project.
- plit234
-
91 posts
Change Slider Min/Max with scripts
Changing slider Min/Max with scripts can look something like this but in orangeset slider min [Frogs v] to [3]
set slider max [Kittens v] to [12]
No support,it's only January so Scratch 3 will have slider maximum and minimum soon,you could use Scratch 2 or 1.4 to do that.
Otherwise,you'll have to wait for a-while.
@plit234 However, it was never a feature for scratch 2.0, it is for other projects where you want to change slider min/max multiple times in one project.
It was in the editor,look:

I don't find a use to change it multiple times,just set it to the highest you can go and then the lowest you can go and then use this script:
when green flag clicked
forever
if <(foo) < (max)> then
set [foo v] to [4]
end
if <(foo) > (minimum)> then
set [foo v] to [10]
end
end
Sadly,my signature disintegrated because of Thanos Cat's snap. Insert endgame spoilers here
- Discussion Forums
- » Suggestions
-
» Change Slider Min/Max with scripts