DocumentInQuestion.png 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 slider, and how they are created

A sliding variable is a variable monitor type that contains a slider beneath the variable monitor.

Note Note: The slider can only change the variable value to numbers, instead of Strings.

Making a Sliding Variable

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.

The dialog after one selects the "Change slider range" option from the context menu.

From there, one can change the minimum and maximum value of the slider.

Note 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.

Example Uses

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.