This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-05-22 03:14:08

redware
Scratcher
Registered: 2007-05-21
Posts: 92

Variable slider resets to 100 ...

The slider on a variable resets to 100 which makes it difficult (in my example) to set a value for an angle from zero to 360. Setting the value initially to 360 is fine but the maximum value on the slider resets to 100 pretty quickly. One simple solution might be to set a variable to a maximum value in code and for the slider to remember this value without resetting. The user can still only set to the maximum value permitted.

Offline

 

#2 2007-05-22 13:28:23

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Variable slider resets to 100 ...

The min and max of a slider can be reset.
option-click (right-click on PC) the slider to get the min/max options.

Unfortunately, you can't get finer than 0.1 resolution, even if the min and max range is 0.001 to 0.002

Offline

 

Board footer