Roblox UtilitiesDevlHub Roblox Documentation

Class

BrickColorValue

Inherits
ValueBase › Instance › Object
Memory category
Instances

A container object for a single BrickColor value.

An instance which is used to store a BrickColor value.

Properties 1#

ValueBrickColorUsed to hold a BrickColor value.ReadSafe

Value: BrickColor#

ReadSafe

Used to hold a BrickColor value.

Events 2#

ChangedFired whenever the BrickColorValue.Value of the BrickColorValue is changed.
changedDeprecated

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.

NameTypeDefaultDescription
valueBrickColorThe new value after the change.

changed(value: BrickColor)#

DeprecatedDeprecated

Deprecated. This event is a deprecated variant of BrickColorValue.Changed which should be used instead.

NameTypeDefaultDescription
valueBrickColor

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed