DoubleConstrainedValue

非推奨を表示
非推奨

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

概要

プロパティ

プロパティ

ConstrainedValue

非表示
複製されていません
並列読み取り

MaxValue

並列読み取り

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

MinValue

並列読み取り

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

Value

複製されていません
並列読み取り

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

方法

イベント

Changed

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

パラメータ

value: number

コードサンプル

DoubleConstrainedValue.Changed

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