IntConstrainedValue
An IntConstrainedValue is used to store a value which can never be less than MinValue and can never be more than MaxValue.
Sommario
Proprietà
- nascostonon replicatolettura paralleladeprecato
Hold a Integer value between IntConstrainedValue.MinValue and IntConstrainedValue.MaxValue. Replaced by IntConstrainedValue.Value, but still functional.
The highest number that the IntConstrainedValue.Value property can be.
The lowest number that the IntConstrainedValue.Value property can be.
Used to hold a integer value between IntConstrainedValue.MinValue and IntConstrainedValue.MaxValue.
Eventi
Fired whenever the Value of the IntConstrainedValue is changed.
Proprietà
ConstrainedValue
Hold a Integer value between IntConstrainedValue.MinValue and IntConstrainedValue.MaxValue. Replaced by IntConstrainedValue.Value, but still functional.
Value
Used to hold a integer value between IntConstrainedValue.MinValue and IntConstrainedValue.MaxValue.
Metodi
Eventi
Changed
Fired whenever the Value of the IntConstrainedValue is changed.
Parametri
Campioni di codice
local function valueChanged(newValue)
print(newValue)
end
workspace.IntConstrainedValue.Changed:Connect(valueChanged)
workspace.IntConstrainedValue.Value = 2