DoubleConstrainedValue

Mostrar obsoleto

*Pronto este contenido estará disponible en tu idioma seleccionado.

Obsoleto

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

Resumen

Propiedades

Propiedades

ConstrainedValue

Oculto
No replicado
Leer paralelo

MaxValue

Leer paralelo

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

MinValue

Leer paralelo

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

Value

No replicado
Leer paralelo

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

Métodos

Eventos

Changed

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

Parámetros

value: number

Muestras de código

DoubleConstrainedValue.Changed

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