DoubleConstrainedValue

Visualizza obsoleti
deprecato

An instance which is used to create a number value which can never be less than the MinValue or more than the MaxValue.

Sommario

Proprietà

Proprietà

ConstrainedValue

nascosto
non replicato
lettura parallela

MaxValue

lettura parallela

The highest number that the DoubleConstrainedValue.Value property can be.

MinValue

lettura parallela

The lowest number that the DoubleConstrainedValue.Value property can be.

Value

non replicato
lettura parallela

Used to hold a number value between DoubleConstrainedValue.MinValue and DoubleConstrainedValue.MaxValue.

Metodi

Eventi

Changed

Fired whenever the DoubleConstrainedValue.Value of the DoubleConstrainedValue is changed.

Parametri

value: number

Campioni di codice

DoubleConstrainedValue.Changed

workspace.DoubleConstrainedValue.Changed:Connect(function(newValue)
print(newValue)
end)
workspace.DoubleConstrainedValue.Value = 2