|It has been suggested that this page's contents be merged with the page Variable. You can discuss this on the page's talk page. (March 2021)|
A sliding variable is a variable monitor type that contains a slider beneath the variable monitor.
|Note:||The slider can only change the variable value to numbers, instead of Strings.|
How to Make One
A variable slider can be created by right-clicking a variable's monitor, then selecting "slider" from the Context Menu that appears.
Changing the Slider Range
To change the slider range of a sliding variable, one can right click the sliding variable again and select the "change slider range" from the context menu that appears.
From there, one can change the minimum and maximum value of the slider.
|Note:||By adding a decimal to the min and max (this can be .00), the slider can be set to a decimal. However, they can only have two digits past the decimal point.|
This monitor type can be used to create a toggle for an option:
when green flag clicked forever if <(show cat) = (1)> then show else hide end end
|This page or section is in question as to whether it is useful or not. You can discuss whether you think it should be deleted or not on its talk page. (May 2021)|
Reason: Not understandable for some people, and this is not needed for some projects.
Make sure to hide the slider should it be undesirable for players to adjust the variable's value by manipulating the slider.