Discuss Scratch
- Discussion Forums
- » Suggestions
- » Min/Max Number Input (19 Supporters, want to add to it?)
- Nintenjoe10
-
Scratcher
100+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
Oh, thanks!And how do you get the ACTUAL signature?Go to discussion forums home, scroll down and click change your signature.
- cheezboy18
-
Scratcher
78 posts
Min/Max Number Input (19 Supporters, want to add to it?)
Great idea! But it should have some way of telling them the min/max, because if not, then it would be kind of disorganized. But great idea!

when green flag clicked
That is such a good idea
I totally agree with it!
play sound [Tell the scratch team about it idk why I'm putting this in a sound block XD v]
- Aboot4
-
Scratcher
100+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
Hmmm… this sounds great, but a Scratcher may get confused when trying to type in a number and finding it doesn't work, though I'm not sure how much that'd happen. Maybe there should be something somewhere saying what the min and max is? There is also a workaround, I'm pretty sure:Good point for the confusing thing, but couldn't you then say the same about mix/max for slide variables?define number (n) min 0 max 5
if <(n) < [0]> then
number (0) min 0 max 5
stop [this script v]
end
if <(n) > [5]> then
number (5) min 0 max 5
stop [this script v]
end
- 8blazer
-
Scratcher
53 posts
Min/Max Number Input (19 Supporters, want to add to it?)
It's a good idea. …That is all.
- seanbobe
-
Scratcher
500+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
define block with (input capped)
if <<(input capped) < [max+1]> and <<(input capped) > [min-1]> >> then
...
end
- Aboot4
-
Scratcher
100+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
I see.define block with (input capped)
if <<(input capped) < [max+1]> and <<(input capped) > [min-1]> >> then
...
end
- Hamish752
-
Scratcher
1000+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
Support. Great idea.So, as most Scratchers are aware, you have the ability to set the minimum and max to a slider variable. This was a great feature that really opened up some opportunities for several Scratchers. Well, lately, I've found myself wanting this feature more and more: What if, in CUSTOM BLOCK NUMBER INPUTS, (Not variable sliders), you could set a minimum and max? Let me give an example: InDo Blah for (Secs ::custom) ::hat customthere is a number input:(Secs ::custom)right? Well, in my suggestion, I say we should be able to right click(Secs ::custom)and it will say
“Set input min/max”. Well, the Scratcher can click it, and a menu almost identical to the menu that pops up when you set a variable mix/max appears. If I set the minimum to 1, and the max to 5, it wouldn't let you input anything except 1, 2, 3, 4, and 5. If I tried to type 6, it wouldn't work, JUST like it doesn't work when you try to type a letter (Besides e) into a number input on, let's say, theMove () stepsblock. You don't seeMove [lol] stepsanywhere. Anyway, support?? If not, WORKAROUND?!? I'd really appreciate it! Thanks!
- nickydroids
-
Scratcher
100+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
i dont see a way around 

Last edited by nickydroids (July 1, 2015 12:57:09)
- ElectroElectro2004
-
Scratcher
100+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
Hmmm… this sounds great, but a Scratcher may get confused when trying to type in a number and finding it doesn't work, though I'm not sure how much that'd happen. Maybe there should be something somewhere saying what the min and max is? There is also a workaround, I'm pretty sure:Semisupport.define number (n) min 0 max 5
if <(n) < [0]> then
number (0) min 0 max 5
stop [this script v]
end
if <(n) > [5]> then
number (5) min 0 max 5
stop [this script v]
end
- IronBit_Studios
-
Scratcher
1000+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
Support.
- purplebook163
-
Scratcher
500+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
Support!
- Pot-of-Gold
-
Scratcher
1000+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
uh, i guess semi-support now, everyone else is support
- Aboot4
-
Scratcher
100+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
uh, i guess semi-support now, everyone else is supportYou don't have to change your mind just because everyone else likes it. ^-^
- Sigton
-
Scratcher
1000+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
No, you couldn't say the same for slider variables because it shows you the limit (using the slider). But I do support this and it could be very helpful. Making scripts to check if a number is within a certain range is time consuming and an easy fix would be ideal.Hmmm… this sounds great, but a Scratcher may get confused when trying to type in a number and finding it doesn't work, though I'm not sure how much that'd happen. Maybe there should be something somewhere saying what the min and max is? There is also a workaround, I'm pretty sure:Good point for the confusing thing, but couldn't you then say the same about mix/max for slide variables?define number (n) min 0 max 5
if <(n) < [0]> then
number (0) min 0 max 5
stop [this script v]
end
if <(n) > [5]> then
number (5) min 0 max 5
stop [this script v]
end
Sigton
- Aboot4
-
Scratcher
100+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
Thanks!No, you couldn't say the same for slider variables because it shows you the limit (using the slider). But I do support this and it could be very helpful. Making scripts to check if a number is within a certain range is time consuming and an easy fix would be ideal.Hmmm… this sounds great, but a Scratcher may get confused when trying to type in a number and finding it doesn't work, though I'm not sure how much that'd happen. Maybe there should be something somewhere saying what the min and max is? There is also a workaround, I'm pretty sure:Good point for the confusing thing, but couldn't you then say the same about mix/max for slide variables?define number (n) min 0 max 5
if <(n) < [0]> then
number (0) min 0 max 5
stop [this script v]
end
if <(n) > [5]> then
number (5) min 0 max 5
stop [this script v]
end
Sigton
- IronBit_Studios
-
Scratcher
1000+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
Support.
- Blank1234
-
Scratcher
500+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
i dont get the point
no support
+scratch doesn't have the current architecture to support this
and, couldn't someone just do this
no support
+scratch doesn't have the current architecture to support this
and, couldn't someone just do this
something (join [][111231231231]) :: custom
Last edited by Blank1234 (July 12, 2015 04:21:23)
- Aboot4
-
Scratcher
100+ posts
Min/Max Number Input (19 Supporters, want to add to it?)
i dont get the point… No? That's not what I'm asking for at all… I really don't think you understand what I'm asking here. xP Try rereading what I'm looking for.
no support
+scratch doesn't have the current architecture to support this
and, couldn't someone just do thissomething (join [][111231231231]) :: custom
- Discussion Forums
- » Suggestions
-
» Min/Max Number Input (19 Supporters, want to add to it?)















