Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you set a limit to a variable with a slide?
- GreenExplosion08
- Scratcher
31 posts
How do you set a limit to a variable with a slide?
I'm making a physics test and I have a variable with a slider so you can change the value of it when your playing it and I want to set a limit so it can only go between 10 and 50. How do I do that?
- deck26
- Scratcher
1000+ posts
How do you set a limit to a variable with a slide?
Right click (for Windows anyway) on the variable when it is displayed on the stage and choose the slider option. Right click again to get the option to set the min/max.
- Discussion Forums
- » Help with Scripts
- » How do you set a limit to a variable with a slide?