Class
IntConstrainedValue
Deprecated
An IntConstrainedValue is used to store a value which can never be less than MinValue and can never be more than MaxValue.
Deprecated. The IntConstrainedValue object has been deprecated as developers can now use
the math.clamp() function to constrain values.
An IntConstrainedValue is used to store a value which can never be less than MinValue and can never be more than MaxValue.
Properties 4#
ConstrainedValueint64 | Hold an Integer value between IntConstrainedValue.MinValue and
IntConstrainedValue.MaxValue. Replaced by
IntConstrainedValue.Value, but still functional.ReadSafeDeprecatedHiddenNotReplicated |
MaxValueint64 | The highest number that the IntConstrainedValue.Value property can
be.ReadSafeDeprecated |
MinValueint64 | The lowest number that the IntConstrainedValue.Value property can
be.ReadSafeDeprecated |
Valueint64 | Used to hold an integer value between IntConstrainedValue.MinValue
and IntConstrainedValue.MaxValue.ReadSafeDeprecatedNotReplicated |
ConstrainedValue: int64#
HiddenNotReplicatedReadSafeDeprecated
Deprecated. The IntConstrainedValue object has been deprecated as developers can now
use the math.clamp() function to constrain values.
Hold an Integer value between IntConstrainedValue.MinValue and
IntConstrainedValue.MaxValue. Replaced by
IntConstrainedValue.Value, but still functional.
MaxValue: int64#
ReadSafeDeprecated
Deprecated. The IntConstrainedValue object has been deprecated as developers can now
use the math.clamp() function to constrain values.
The highest number that the IntConstrainedValue.Value property can
be.
MinValue: int64#
ReadSafeDeprecated
Deprecated. The IntConstrainedValue object has been deprecated as developers can now
use the math.clamp() function to constrain values.
The lowest number that the IntConstrainedValue.Value property can
be.
Value: int64#
NotReplicatedReadSafeDeprecated
Deprecated. The IntConstrainedValue object has been deprecated as developers can now
use the math.clamp() function to constrain values.
Used to hold an integer value between IntConstrainedValue.MinValue
and IntConstrainedValue.MaxValue.
Events 2#
Changed(value: int64)#
Deprecated
Deprecated. The IntConstrainedValue object has been deprecated as developers can now
use the math.clamp() function to constrain values.
Fired whenever the Value of the IntConstrainedValue is changed.
| Name | Type | Default | Description |
|---|---|---|---|
value | int64 |
changed(value: int64)#
DeprecatedDeprecated
Deprecated. This deprecated event is a variant of IntConstrainedValue.Changed
which has also been deprecated. Neither event should be used in new work.
| Name | Type | Default | Description |
|---|---|---|---|
value | int64 |
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild