DoubleConstrainedValue

Show Deprecated
Deprecated

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

Summary

Properties

Properties

ConstrainedValue

Hidden
Not Replicated
Read Parallel

MaxValue

Read Parallel

MinValue

Read Parallel

Value

Not Replicated
Read Parallel

Methods

Events

Changed

Parameters

value: number

Code Samples

DoubleConstrainedValue.Changed

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