PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

Changed

Fired whenever the Color3Value/Value of the Color3Value 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 Color3Value changes and to track the different values that it may change to.

For instance, this may be useful in games that rely on Color3Values to track values such as colors for games using customizable outfits or items.

Note

Equivalent changed events exist for similar objects, such as NumberValue and StringValue, depending on what object type best suits the need.

Parameters

Name Type Default Description

The new value after the change.


Code Samples


How to Use Color3Value.Changed

The below example, assuming all referenced objects existed, would print the Color3Value’s new value each time it changed. In the example below it would print “0.196078, 0.196078, 0.196078”.