DoubleConstrainedValue

Afficher les obsolètes
obsolète

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

Résumé

Propriétés

Propriétés

ConstrainedValue

caché
non répliqué
lecture parallèle

MaxValue

lecture parallèle

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

MinValue

lecture parallèle

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

Value

non répliqué
lecture parallèle

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

Méthodes

Évènements

Changed

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

Paramètres

value: number

Échantillons de code

DoubleConstrainedValue.Changed

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