Callback executed when the value of the slider is changed.
function valueChanged() Space.Log("value changed") end Space.Host.ExecutingObject.UISlider.OnValueChanged(valueChanged)
Multiplier applied to colors (allows brightening greater then base color).
The direction of the slider (0 to 4). 0 Left To Right, 1 Right To Left, 2 Bottom To Top, 3 Top To Bottom
Space.Host.ExecutingObject.UISlider.Direction = 1
Disabled Color.
Whether this slider is Enabled or not
Space.Host.ExecutingObject.UISlider.Enabled = false --or false
Highlighted Color.
Use to enable or disable the ability to interact with the slider.
Space.Host.ExecutingObject.UISlider.Interactable = true
The maximum allowed value of the slider.
Space.Host.ExecutingObject.UISlider.MaxValue = 20
The minimum allowed value of the slider.
Space.Host.ExecutingObject.UISlider.MinValue = 10
Normal Color.
The current value of the slider normalized into a value between 0 and 1.
Space.Log(Space.Host.ExecutingObject.UISlider.NormalizedValue) --displays the current normalized value of the slider in the console
Pressed Color.
The current value of the slider.
Space.Log(Space.Host.ExecutingObject.UISlider.Value) --displays the current value of the slider in the console
Should the value only be allowed to be whole numbers?
Space.Host.ExecutingObject.UISlider.WholeNumbers = true --or false