Value (Property)
From Legacy Roblox Wiki
Jump to navigationJump to search
Value | |
Property | |
Description | Holds a value of a specific type. |
Member of | BoolValue, BrickColorValue, CFrameValue, Color3Value, IntValue, NumberValue, ObjectValue, StringValue, Vector3Value, RayValue, DoubleConstrainedValue, IntConstrainedValue |
Description
This property is the matching type of value inside the various Value holding objects. They are specific to the object that they have. For example, a BoolValue can only hold a bool, and a StringValue can only hold a string. Value objects are great for communicating data between scripts.
Object | Type |
---|---|
BoolValue | bool |
BrickColorValue | BrickColor |
CFrameValue | CFrame |
Color3Value | Color3 |
IntValue | int |
NumberValue | double |
ObjectValue | Instance |
StringValue | string |
Vector3Value | Vector3 |
RayValue | Ray |
DoubleConstrainedValue | double between MinValue and MaxValue |
IntConstrainedValue | int between MinValue and MaxValue |