Discuss Scratch

CodeComet6161
Scratcher
1000+ posts

Make the slider range a block.

set [ v] range to [] to [] with a interval of []::variables
With this block, sliders will have more flexibility, and here's why.

1. Reporter inputs
With the usual sliders, we're not able to change the range of it during a project. Not only that, but because it's a separate thing, you aren't able to put reporter inputs in it either. This block would change that. Here's an example:
set [ v] range to ((foo) + (1)) to ((foo) + (11)) with an interval of [1]::variables//would be set to a range during the middle of a project
2. Change the interval
With the usual sliders, you can only have an interval of 1, and if you put decimals in it, it would become an impossibly large range of numbers, especially if the original range is already high. However, with the block shown above, you can now choose custom intervals. Here's an example:
set [ v] range to [0] to [8] with an interval of [2]::variables//would be 0, 2 ,4, 6, 8 instead of 0, 1, 2,... 
Along with that, we would have these blocks:
change [ v] [start v] by []::variables//could be start, interval, or end
set [ v] [start v] to []::variables
Blocks added by medians:
[ v] slider [minimum v]::variables reporter

change [ v] readout to [normal v]::variables

Last edited by CodeComet6161 (Oct. 11, 2025 13:40:04)

CodeComet6161
Scratcher
1000+ posts

Make the slider range a block.

bump
Creator-H
Scratcher
100+ posts

Make the slider range a block.

i'm surprised this hasn't been suggested before, support
GreedyGinger12345
Scratcher
65 posts

Make the slider range a block.

High support. You can't even change the slider range on mobile (or is that just my phone)
medians
Scratcher
1000+ posts

Make the slider range a block.

GreedyGinger12345 wrote:

High support. You can't even change the slider range on mobile (or is that just my phone)
I remember that, and it also happened on iOS and iPadOS.
secretuch
Scratcher
100+ posts

Make the slider range a block.

GreedyGinger12345 wrote:

High support. You can't even change the slider range on mobile (or is that just my phone)
I support too!
MythosLore
Scratcher
1000+ posts

Make the slider range a block.

Creator-H wrote:

i'm surprised this hasn't been suggested before, support
*evil laugh* https://scratch.mit.edu/discuss/topic/516871/
https://scratch.mit.edu/discuss/topic/564212/

Last edited by MythosLore (Sept. 2, 2025 18:19:48)

medians
Scratcher
1000+ posts

Make the slider range a block.

MythosLore wrote:

Creator-H wrote:

i'm surprised this hasn't been suggested before, support
*evil laugh* https://scratch.mit.edu/discuss/topic/516871/
https://scratch.mit.edu/discuss/topic/564212/
I know this, but those topics don't suggest adding an interval option and the other feature that the topic creator suggested here. I feel like if this is implemented, then Scratch should also add it to the slider range right click thing too.
edit: i will make mockup for this later lolol

Last edited by medians (Sept. 2, 2025 18:28:52)

CodeComet6161
Scratcher
1000+ posts

Make the slider range a block.

MythosLore wrote:

Creator-H wrote:

i'm surprised this hasn't been suggested before, support
*evil laugh* https://scratch.mit.edu/discuss/topic/516871/
https://scratch.mit.edu/discuss/topic/564212/
Only like 15% of that is in here.
CoolLock
Scratcher
100+ posts

Make the slider range a block.

Support. We just generally need more control and customization over variables

Last edited by CoolLock (Sept. 3, 2025 10:05:48)

CodeComet6161
Scratcher
1000+ posts

Make the slider range a block.

bump
IloveRoblox003
Scratcher
1000+ posts

Make the slider range a block.

SUPPORT! Also, if we could GET the range, that would be even more helpful in projects!
pippy2011eight
Scratcher
100+ posts

Make the slider range a block.

bumpMy browser / operating system: ChromeOS 14541.0.0, Chrome 135.0.0.0, No Flash version detected
CodeComet6161
Scratcher
1000+ posts

Make the slider range a block.

pippy2011eight wrote:

bumpMy browser / operating system: ChromeOS 14541.0.0, Chrome 135.0.0.0, No Flash version detected
Well thanks for bumping my topic, however, only bump when one day has passed without a post and it is not on the front page.
Maltion
Scratcher
100+ posts

Make the slider range a block.

bump
medians
Scratcher
1000+ posts

Make the slider range a block.

CodeComet6161 wrote:

MythosLore wrote:

Creator-H wrote:

i'm surprised this hasn't been suggested before, support
*evil laugh* https://scratch.mit.edu/discuss/topic/516871/
https://scratch.mit.edu/discuss/topic/564212/
Only like 15% of that is in here.
Also, those suggestions don't include your interval suggestion (which I feel should also be added to the right click thing if you're gonna add it to the block)

IloveRoblox003 wrote:

SUPPORT! Also, if we could GET the range, that would be even more helpful in projects!
I was thinking:
([variable v] slider [minimum v]::variables)
([variable v] slider [maximum v]::variables)
([variable v] slider [interval v]::variables)

Last edited by medians (Sept. 5, 2025 15:21:38)

CodeComet6161
Scratcher
1000+ posts

Make the slider range a block.

medians wrote:

IloveRoblox003 wrote:

SUPPORT! Also, if we could GET the range, that would be even more helpful in projects!
I was thinking:
([variable v] slider [minimum v]::variables)
([variable v] slider [maximum v]::variables)
([variable v] slider [interval v]::variables)
I'm adding these to the list currently, thanks!
CodeComet6161
Scratcher
1000+ posts

Make the slider range a block.

bump
CodeComet6161
Scratcher
1000+ posts

Make the slider range a block.

bump
VerySmartDummy
Scratcher
100+ posts

Make the slider range a block.

support

Powered by DjangoBB