Class
BrickColorValue
A container object for a single BrickColor value.
An instance which is used to store a BrickColor value.
Properties 1#
ValueBrickColor | Used to hold a BrickColor value.ReadSafe |
Value: BrickColor#
ReadSafe
Used to hold a BrickColor value.
Events 2#
| Changed | Fired whenever the BrickColorValue.Value of the BrickColorValue is
changed. |
| changed | Deprecated |
Changed(value: BrickColor)#
Fired whenever the BrickColorValue.Value of the
BrickColorValue is changed. It will run with the new value being
stored in the argument object, instead of a string representing the
property being changed.
This event, like other changed events, can be used to track when an BrickColorValue changes and to track the different values that it may change to.
Equivalent changed events exist for similar objects, such as
NumberValue and StringValue, depending on what object type
best suits the need.
| Name | Type | Default | Description |
|---|---|---|---|
value | BrickColor | The new value after the change. |
changed(value: BrickColor)#
DeprecatedDeprecated
Deprecated. This event is a deprecated variant of BrickColorValue.Changed
which should be used instead.
| Name | Type | Default | Description |
|---|---|---|---|
value | BrickColor |
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